Skip to content

Commit a829786

Browse files
style: wrap text code to prevent content overflow-x
1 parent c05f10d commit a829786

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/styles/app.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ div.brand {
163163
color: black;
164164
background-color: rgba($gray, 0.05);
165165
border: 1px solid rgba($gray, 0.25);
166+
white-space: pre-wrap;
167+
}
168+
169+
pre code {
170+
white-space: inherit;
166171
}
167172

168173
a.anchor::before {

0 commit comments

Comments
 (0)