jothepro / doxygen-awesome-css

Custom CSS theme for doxygen html-documentation with lots of customization parameters.

Home Page:https://jothepro.github.io/doxygen-awesome-css/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dark Mode toggle broken in Doxygen 1.9.2

jothepro opened this issue ยท comments

@dmadison reported in #47: On mobile [...] the dark mode toggle runs off the screen. When testing in Chrome using the device toolbar, the dark mode toggle also disappears after resizing (and reappears on refresh).

I think that I fixed this issue in b20573f

I'll have to do some more testing before I am confident, though. @dmadison can you confirm that this works in your setup?

Thanks for looking into this. I've just tested with that snippet and the toggle is in its proper place and persists on window resize. Although when resizing down to mobile width on desktop the toggle still drops down below the search bar. My guess is that the width of the vertical scroll bar is not accounted for somewhere.

Yep, Mac user here... ๐Ÿ™ˆ
Thx, I can reproduce this on Windows! I'm confident that e5368c4 will fix it. I'm now allocating space for the searchbar dynamically with flexbox, instead of hardcoding the width. :)


Offtopic: Omg, this theme looks absolutely awful on Windows... ๐Ÿ˜ฎ I should've tested on Windows more often, there is big junky scrollbars literally everywhere! ๐Ÿ™ˆ Now I get the point of these proposed changes, I'll seriously have to consider adapting them...

Wtf even is this, why didn't you complain about it? ๐Ÿ˜†
Bildschirmfoto 2021-10-19 um 15 13 20

I never noticed before! Big monitor problems I suppose, haha.

Should be fixed with release 1.6.1. Pls re-open if you are still experiencing problems related to the toggle button...