Datatable dark the header of the first column is white


Topic: Datatable dark the header of the first column is white

Alexandroni asked 3 years ago

Expected behavior Full dark table

Actual behavior The header of the first column is white and the rest of the table is dark

Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/alexandroni/3344042


Michał Duszak staff answered 3 years ago

Thank you for your feedback. It's a bug. It seems like it's breaking due to the data-mdb-fixed="true" attribute. I put fixing this on our TODO list.

Until we fix this, I would recommend a workaround such as

th {
  background-color: #262626!important;
  color: white!important;
}

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: pc
  • Browser: firefox
  • OS: windows
  • Provided sample code: No
  • Provided link: Yes