Skip to content

Commit

Permalink
doc/css: add "span" padding to custom.css
Browse files Browse the repository at this point in the history
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 #49644.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
  • Loading branch information
Zac Dover committed Jan 10, 2023
1 parent 6c1dfe9 commit dd9555b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/_static/css/custom.css
Expand Up @@ -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;
}
Expand Down

0 comments on commit dd9555b

Please sign in to comment.