jothepro / doxygen-awesome-css

Custom CSS theme for doxygen html-documentation with lots of customization parameters.
https://jothepro.github.io/doxygen-awesome-css/
MIT License
981 stars 112 forks source link

Project name cropped in sidebar instead of newline #76

Closed mwiesenberger closed 2 years ago

mwiesenberger commented 2 years ago

Hi,

I just tried to upgrade from 1.6.1 to 2.0.3. It looks good overall but I found one issue. The sidebar title is cropped as seen here new Before it was like this: old

The old code is here https://github.com/feltor-dev/feltor/tree/master/doc

What I did was to replace the two doxygen-awesome files and the header.html with the updated versions. I am guessing it is something small to fix, but I just don't know where to look or if it is actually something I did wrong somehow Thanks Matthias

jothepro commented 2 years ago

This line disables the line-wrap: https://github.com/jothepro/doxygen-awesome-css/blob/main/doxygen-awesome-sidebar-only.css#L41

I've introduced this as a safety measure so no unexpected line break happens due to a few pixels being missing because of a different font or browser.

You can restore the old behavior like this:

#projectname {
     white-space: normal;
 }
mwiesenberger commented 2 years ago

cool, thanks, that worked