Skip to content

Commit 1556b1c

Browse files
committed
Fix x overflow
1 parent b4a900f commit 1556b1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.textContent {
22
border:1Px solid var(--colorBlack200);
33
padding:var(--mL);
4+
overflow-x: hidden;
45

56
& hr {
67
clear: both;
@@ -191,12 +192,11 @@
191192

192193
& pre{
193194
padding:0.8rem;
195+
overflow-x: scroll;
194196
}
195197

196198
& code {
197199
background-color: var(--colorBlack200);
198-
white-space: pre-wrap;
199-
word-break: break-word;
200200
font-size: 0.95em;
201201
}
202202

0 commit comments

Comments
 (0)