From 2f15109a3cc41f3bbacd0fd436702efb8a785da4 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 30 Mar 2025 06:23:52 -0300 Subject: 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. --- src/static/css/site.css | 1 + 1 file changed, 1 insertion(+) 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 { -- cgit 1.3.0-6-gf8a5