Skip to content

Commit

Permalink
Allow all pre tags to have overflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Mar 23, 2023
1 parent 55b32f0 commit 82591ef
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 @@ -31,6 +31,7 @@ div[class^="highlight-"]
pre
margin: 0
padding: 0
overflow: auto

// Needed to have more specificity than pygments' "pre" selector. :(
article[role="main"] .highlight &
Expand All @@ -40,7 +41,6 @@ pre
.highlight &
font-size: var(--code-font-size)
padding: $code-spacing-vertical $code-spacing-horizontal
overflow: auto

// Make it look like all the other blocks.
&.literal-block
Expand Down

0 comments on commit 82591ef

Please sign in to comment.