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
1k stars 117 forks source link

fix code indentation #12

Closed jothepro closed 3 years ago

jothepro commented 3 years ago

fixes #9

This fixes the broken indentation, while code still does scroll if a line it too long.

The only downside: It creates a weird padding at the end of file listings, that I cannot explain. But I can live with that.

Bildschirmfoto 2021-04-19 um 23 08 43

Because the lines have to be display: inline-block instead of block to work well with white-space: pre, I had to remove the option to restore the default code wrapping behaviour (wrap line if too long).

jothepro commented 3 years ago

Tested on Chrome, Firefox, Safari