docs: Fix line numbered listings
Numbers didn't match up with content due to inconsistent line height.
This commit is contained in:
parent
3ad4b7b0a5
commit
813c2be35a
1 changed files with 6 additions and 0 deletions
6
docs/_static/theme_overrides.css
vendored
6
docs/_static/theme_overrides.css
vendored
|
|
@ -37,6 +37,11 @@
|
|||
vertical-align: 10%;
|
||||
}
|
||||
|
||||
.rst-content .highlight>pre,
|
||||
.rst-content .linenodiv>pre {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* make code tags non-red again */
|
||||
code,
|
||||
.rst-content tt {
|
||||
|
|
@ -52,3 +57,4 @@ a:visited code,
|
|||
.rst-content a:visited tt {
|
||||
color: #9B59B6 !important;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue