Skip to content

Commit

Permalink
docs: remove remaining CSS workaround (#2737)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
neocturne authored Sep 28, 2023
1 parent 9ae5d23 commit 5f6dbe6
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
.strike {
text-decoration: line-through;
}

/*
This fixes the vertical position of list markers when the first
element in the <li> is a <pre> block
Scrolling inside the <pre> block is still working as expected
*/
.rst-content pre.literal-block,
.rst-content div[class^='highlight'] pre {
overflow: visible;
}

0 comments on commit 5f6dbe6

Please sign in to comment.