live.datatables.net styling issue

live.datatables.net styling issue

kthorngrenkthorngren Posts: 21,315Questions: 26Answers: 4,948

The default https://live.datatables.net/ appears to have a styling issue. The input borders for length change and search elements are hidden until the are clicked on.

Kevin

Replies

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin

    Sorry - that is actually due to a CSS change in the nightlies which I've since revoked for exactly this reason. I'm working on dark mode support for DataTables, as I'm guessing that like me, you have your OS set up for prefers dark mode.

    The CSS I added would make DataTables obey that automatically, but most sites (including the live one, or indeed this one!) aren't ready for that. I've since changed it so that the dev needs to opt in by adding class="dark" to the html element. Looks like the nightly version is cached without that though.

    It should be fixed shortly as my work on this continues.

    Allan

  • kthorngrenkthorngren Posts: 21,315Questions: 26Answers: 4,948

    Good luck with the dark mode code :smile:

    Kevin

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin

    I'm really pleased with it so far :). No idea how long it will be to port everything, but it is in progress...

  • kthorngrenkthorngren Posts: 21,315Questions: 26Answers: 4,948

    Very nice!

    Kevin

Sign In or Register to comment.