fix: restore overflow property for code blocks and apply it to highlight class

This commit is contained in:
geekifan
2025-05-06 19:00:34 +08:00
parent 2e2c111e17
commit 7adc9fd396

View File

@ -13,7 +13,6 @@ code:not([class]):not([id]) {
@extend %rounded;
@extend %code-snippet-bg;
overflow: auto;
padding-bottom: 0.75rem;
@at-root figure#{&} {
@ -64,6 +63,9 @@ code:not([class]):not([id]) {
.chroma {
padding-bottom: 6px;
}
.highlight {
overflow: auto;
}
} /* .highlight */
code:not([class]):not([id]) {