Skip to content

Commit

Permalink
Increase specificity of pre selector for line-height
Browse files Browse the repository at this point in the history
This helps avoid issues caused by higher specificity of pygments.css
selectors.
  • Loading branch information
pradyunsg committed Nov 24, 2021
1 parent 01ee283 commit 0c4018f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/furo/assets/styles/content/_code.sass
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pre
padding: 0

// Needed to have more specificity than pygments' "pre" selector. :(
article .highlight &
article[role="main"] .highlight &
line-height: 1.5

&.literal-block,
Expand Down

0 comments on commit 0c4018f

Please sign in to comment.