Skip to content

Commit 691d24c

Browse files
authored
Chroma: Added code to bound the width of the codeblock (#173)
1 parent 97ce7e5 commit 691d24c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

assets/css/v2/style.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,17 @@ blockquote p:last-child {
978978
}
979979

980980
/* Codeblocks */
981+
.highlight {
982+
position: relative;
983+
z-index: -1;
984+
985+
code .cl {
986+
position: relative;
987+
width: 100%;
988+
white-space: pre-wrap;
989+
}
990+
}
991+
981992
.highlight-mf {
982993
grid-column: 1 / -1 !important;
983994
position: relative;

0 commit comments

Comments
 (0)