Skip to content

Commit

Permalink
Scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson committed Dec 10, 2024
1 parent ab58b71 commit 477fcd8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion v3.css
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,11 @@ figcaption, caption {
}
pre, svg {
display: inline-block;
overflow-x: auto;
/* In the horizontal direction, sometimes people make over-sized figures.
Scrollbars for those is therefore necessary: auto adds them as necessary..
In the vertical direction, the line-height can combine with the font
asender/descender height to produce scrollbars: hidden avoids that. */
overflow: auto hidden;
}
pre {
max-width: 100%;
Expand Down

0 comments on commit 477fcd8

Please sign in to comment.