tlwiki-hugo-theme/static
mntn e9cfcaf94c
Set pre overflow to auto and make bg !important
Fixes 2 issues:
1. In Firefox, overflow: scroll puts an ugly unscrollable scrollbar on the page. With auto it behaves as normal but the scrollbar only appears when needed.
2. When using code highlighting, the generated Hugo styles replace the <pre> background color, making the page look ugly (only the text has a background, not the entire <pre> block). Setting the background !important fixes this. This is not ideal, but the styles are applied directly to the element when using the internal highlight shortcode, so this is the only way to override them.

Tested on Firefox and Chrome.
2021-07-31 21:18:25 -04:00
..
css Set pre overflow to auto and make bg !important 2021-07-31 21:18:25 -04:00
images Initial commit 2021-03-05 10:44:42 +01:00