Skip to content

Commit 2a5fd05

Browse files
authored
Merge pull request #2762 from codecrafters-io/fix-code-block-overflow
Add text wrapping to `.prose code`
2 parents 04b7da1 + 9d64f2c commit 2a5fd05

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/styles/app.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@
5454
white-space: pre;
5555
}
5656

57+
.prose code {
58+
overflow-wrap: break-word;
59+
text-wrap: auto;
60+
}
61+
5762
.vertical-mask {
5863
background: linear-gradient(
5964
to bottom,

0 commit comments

Comments
 (0)