Skip to content

Commit e72adf2

Browse files
authored
Merge pull request #1315 from readthedocs/agj/fix-kbd-errors
Fix SASS syntax errors from #967
2 parents 34e29e6 + 71286aa commit e72adf2

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def run(self):
120120
install_requires=[
121121
'sphinx>=1.6',
122122
'docutils<0.18',
123+
'Jinja2<3.1',
123124
],
124125
tests_require=[
125126
'pytest',

sphinx_rtd_theme/static/css/theme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/sass/_theme_rst.sass

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -515,10 +515,10 @@
515515
border-radius: $base-line-height / 6
516516
padding: ($base-line-height / 10) ($base-line-height / 4)
517517
margin: auto ($base-line-height / 12)
518-
:not(kbd) > kbd,
519-
:not(kbd) > .kbd,
520-
:not(.kbd) > kbd,
521-
:not(.kbd) > .kbd
518+
&:not(kbd) > kbd,
519+
&:not(kbd) > .kbd,
520+
&:not(.kbd) > kbd,
521+
&:not(.kbd) > .kbd
522522
color: inherit
523523
font-size: 80%
524524
background-color: lighten($text-light, 30%)

0 commit comments

Comments
 (0)