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:
Marianne Lê
2022-07-21 13:09:44 -05:00
committed by GitHub
parent 38e3ed6881
commit 5d4de413c0

View File

@@ -75,6 +75,7 @@ figure.highlight {
padding: $sp-3;
margin-top: 0;
margin-bottom: $sp-3;
overflow-x: auto;
background-color: $code-background-color;
border-radius: $border-radius;
box-shadow: none;