diff --git a/v3.css b/v3.css index 29308e85..39a9e862 100644 --- a/v3.css +++ b/v3.css @@ -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%;