Commit Graph

6 Commits

Author SHA1 Message Date
Joe Roe e46b83375d
Merge pull request #9 from mntn-xyz/patch-6
Set pre overflow to auto and make bg !important
2021-08-09 13:44:43 +02:00
Joe Roe b3cf3d58a5
Merge pull request #13 from mntn-xyz/patch-9
Prevent super/subscript from affecting line height
2021-08-09 13:30:32 +02:00
mntn c816f14596
Prevent super/subscript from affecting line height
This keeps line height static and brings in the vertical position of super/subscript slightly to prevent overlap with multiple lines.
2021-08-03 10:41:42 -04:00
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
mntn aef1f01402
Fix UL marker spacing on Firefox
Replaces space with nonbreaking Unicode space
2021-07-31 20:52:41 -04:00
Joe Roe 70f2d625fa Initial commit 2021-03-05 10:44:42 +01:00