code-lts / doctum

A php API documentation generator, fork of Sami
https://doctum.long-term.support/
MIT License
300 stars 32 forks source link

Theming - Striping in left sidebar off-alignment with text #42

Closed bradjones1 closed 2 years ago

bradjones1 commented 2 years ago

Screenshot 2021-12-20 at 12-46-00 Namespaces Drupal Core API Explorer

This is on Firefox. I actually don't see the striping at all on Chromium. It kinda-sorta appears when I'm using the element inspector (beyond the blue selection highlight) but not there at all when viewing as an end-user.

I'm not amazing at CSS so I'm not sure the "right" way to do this? Something with :nth-child() is the first thing that comes to mind but nesting makes that complicated.

bradjones1 commented 2 years ago

If the actual dataset matters: https://api.rtdm.info/9.3.0/

williamdes commented 2 years ago

Yeah, this part should be re-written probably The tree is some kind of JS build node list and the css is not aware of the item list If I recall correctly

A lot of place for new and cool code ^^

williamdes commented 2 years ago

I would recommend you to try the latest dev phar as much as possible to test it until I make the final fixes for a release, see: #38

Thank you so much for the link, I may add your project to the README ;)

williamdes commented 2 years ago

Oh this seems to be a Firefox only CSS issue

williamdes commented 2 years ago

Hi @bradjones1 The version 5.5.0 is out 🎉 This fix is included in the version released