From 64148318c07b06d27b1f1ad390a437286b1c04d2 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Mon, 8 Aug 2022 17:32:50 -0700 Subject: [PATCH] Improve footnotes a bit - Make backlink tap-target wider - Contain
    elements. --- assets/css/main.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/css/main.css b/assets/css/main.css index 904552b..6b13251 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -199,6 +199,7 @@ html { main, pre, summary, + :not(nav) > ol, [role="doc-endnotes"], [role="doc-preface"] { contain: inline-size layout paint; @@ -334,6 +335,7 @@ html { display: inline-block; padding: .75em .5em; margin-top: -1em; + min-width: 25%; } /* skip link: make it invisible until focused, and put it on the top. */