Skip to content

Commit a370365

Browse files
committed
Fixes the fix from #1315 - the CSS selector was wrong
1 parent 4efbdbc commit a370365

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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)