Skip to content

Commit ede62cd

Browse files
committed
Prevent code elements from messing up things on mobile
1 parent 00a1c49 commit ede62cd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: sass/_typography.scss

+4
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ time {
6363

6464
code {
6565
font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
66+
67+
// We don't want long identifiers such as 'package.metadata.playdate.options'
68+
// introducing a scroll bar on small screens.
69+
overflow-wrap: break-word;
6670
}
6771

6872
sup {

0 commit comments

Comments
 (0)