]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/css: add "span" padding to custom.css 49694/head
authorZac Dover <zac.dover@gmail.com>
Tue, 10 Jan 2023 15:55:55 +0000 (01:55 +1000)
committerZac Dover <zac.dover@gmail.com>
Tue, 10 Jan 2023 17:06:38 +0000 (03:06 +1000)
Add "scroll-top-bar: 2em;" for the "span" html element in custom.css so
that the top bar doesn't get in the way of headings bounded by the "span
element".

See also https://github.com/ceph/ceph/pull/49644.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit dd9555b0ae0507c996588e82a62b0a674530a16a)

doc/_static/css/custom.css

index 0a2d2078ce7590e3ea3e3113754dbc41ff27b070..3a8dd5539ac4953fa6835f58735668c28372aaf8 100644 (file)
@@ -10,6 +10,10 @@ section {
     scroll-margin-top: 4em; 
 }
 
+span {
+    scroll-margin-top: 2em; 
+}
+
 ul.simple > li > ul > li:last-child {
     margin-block-end : 1em;
 }