Skip to content

Commit f5e6c96

Browse files
committed
fix: adding word break and wrapping to pre elements to allow for longer code examples to render correctly
1 parent 988e2b7 commit f5e6c96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

static/css/smigle-lite.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,10 @@ article {
209209
float: right;
210210
text-align: right;
211211
display: inline;
212+
}
213+
214+
pre {
215+
/*overflow-x: visible;*/
216+
white-space: pre-wrap;
217+
word-break: break-word;
212218
}

0 commit comments

Comments
 (0)