]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
doc/css: add scroll-margin-top to dt elements 49640/head
authorZac Dover <zac.dover@gmail.com>
Thu, 5 Jan 2023 12:25:43 +0000 (22:25 +1000)
committerZac Dover <zac.dover@gmail.com>
Thu, 5 Jan 2023 14:07:51 +0000 (00:07 +1000)
commit381c47735ea32e38ecb7c7ed4c24f8bbb1cd123e
treeba9537de137b676d5663745929a43e258d82f291
parente0f0e8ec71c26d8cf38d84e5ede0844ea4ce6eda
doc/css: add scroll-margin-top to dt elements

add "scroll-margin-top: em3;" to custom.css so that the header bar
doesn't obscure the text of headwords in glossary.rst. Note that this
applies only to elements in the documentation that are rendered into
HTML with the dt (which stands for "description term" or "description
list") tag. Other modifications will be necessary in order to ensure
that the anchor points of non-dt elements are not obscured by the header
bar.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 1865de86622592555571c1539f3c013c7936d53e)
doc/_static/css/custom.css