mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-22 02:52:23 -06:00
adds overflow-x: auto
to figure.highlight
(#727)
without overflow-x: auto; a very long line of code will overflow the box and look awkward Co-authored-by: Matt Wang <matt@matthewwang.me>
This commit is contained in:
parent
38e3ed6881
commit
5d4de413c0
@ -75,6 +75,7 @@ figure.highlight {
|
|||||||
padding: $sp-3;
|
padding: $sp-3;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: $sp-3;
|
margin-bottom: $sp-3;
|
||||||
|
overflow-x: auto;
|
||||||
background-color: $code-background-color;
|
background-color: $code-background-color;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user