From d8b66a10b89424160736bcbb9be8faed7ee04f2c Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 27 Dec 2022 18:06:33 +0100 Subject: [PATCH] docs: remove remaining CSS workaround Remove a workaround for a CSS issue in older Firefox versions, which was recently fixed (at some point between Firefox 102 and 108). Firefox 108+ now displays the bullet points at the right vertical position even without the hack in [1]. [1] https://gluon.readthedocs.io/en/latest/releases/v2018.1.html#site-conf --- docs/_static/css/custom.css | 10 ---------- docs/conf.py | 4 ++-- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 docs/_static/css/custom.css diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css deleted file mode 100644 index c9996e0e..00000000 --- a/docs/_static/css/custom.css +++ /dev/null @@ -1,10 +0,0 @@ -/* - This fixes the vertical position of list markers when the first - element in the
  • is a
     block
    -
    -	Scrolling inside the 
     block is still working as expected
    -*/
    -.rst-content pre.literal-block,
    -.rst-content div[class^='highlight'] pre {
    -	overflow: visible;
    -}
    diff --git a/docs/conf.py b/docs/conf.py
    index 21ed646d..2f534d71 100644
    --- a/docs/conf.py
    +++ b/docs/conf.py
    @@ -89,7 +89,7 @@ html_theme = 'sphinx_rtd_theme'
     # relative to this directory. They are copied after the builtin static files,
     # so a file named "default.css" will overwrite the builtin "default.css".
     #
    -html_static_path = ['_static']
    +# html_static_path = ['_static']
     
     # Custom sidebar templates, must be a dictionary that maps document names
     # to template names.
    @@ -103,7 +103,7 @@ html_static_path = ['_static']
     
     # These paths are either relative to html_static_path
     # or fully qualified paths (eg. https://...)
    -html_css_files = ['css/custom.css']
    +# html_css_files = ['css/custom.css']
     
     
     # -- Options for HTMLHelp output ---------------------------------------------