-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sidebar CSS incorrect leading to wrong indents #126
Comments
I had reproduced this problem. |
Thank you @Rain1560, with the given example I could reproduce a problem with the tree view navigation (although I am not sure if it is the same bug described by @ijsf). In your case, it seems like the addition of the |
I found this problem too. Thanks for your reply. |
I've ran into an issue similar (or identical) to #121. It seems that the sidebar renders classes with and without children with a wrong indent, and this is caused by inconsistenties between the original doxygen
.arrow
CSS class and the equivalent doxygen-awesome-css class.One of the root causes is that, unfortunately, doxygen's navtree.js uses a lot of hardcoded pixel values, so it expects certain CSS behaviour.
Bug:
Original doxygen theme:
doxygen's navtree.js generates this for the childless classes:
and generates this for the classes with children:
The difference here is the
arrow
element and the use ofwidth
andpadding-left
. Thewidth: 64px
doesn't seem to work in doxygen-awesome-css since a<span>
with a width element doesn't do anything unlessdisplay: inline-block
is used. This is absent in the CSS while it is present in the original doxygen CSS.The following additions from the original doxygen CSS to
.arrow
(https://github.com/jothepro/doxygen-awesome-css/blob/v2.2.1/doxygen-awesome.css#L846) seem to fix this bug:The text was updated successfully, but these errors were encountered: