Skip to content

Commit a0beaa7

Browse files
committed
Improve code block style
1 parent 0afb29f commit a0beaa7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

themes/opentermsarchive/assets/css/components/textContent.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,10 @@
214214
}
215215

216216
& code {
217-
background-color: var(--colorBlack200);
217+
background-color: var(--colorBlack100);
218218
font-size: 0.9em;
219+
white-space: pre-wrap;
220+
border-radius: 0.2em;
219221
}
220222

221223
& button {

0 commit comments

Comments
 (0)