diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-03-30 06:23:52 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-03-30 06:23:52 -0300 |
commit | 2f15109a3cc41f3bbacd0fd436702efb8a785da4 (patch) | |
tree | 133287b5604af6e482f0cec37416c2d66601019b | |
parent | d4e271e4457828bbfcacffc9b889a0a132c65335 (diff) |
css: set line-height on sticky heading h1
Apparently manually setting line-height resolves some instability between a line of text which includes JP characters and one which does not - it appears that without a manual line-height, the line height is computed independently per line. This mostly just causes an apparent shift when collapsing down to one line. Avoid it completely.
-rw-r--r-- | src/static/css/site.css | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css index b266b208..6aa31c1e 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -2992,6 +2992,7 @@ main.long-content .content-sticky-heading-container .content-sticky-subheading-r position: relative; margin: 0; padding-right: 20px; + line-height: 1.4; } .content-sticky-heading-row h1 .reference-collapsed-heading { |