Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b5b0895

Browse files
committedJul 11, 2024··
Prevent code elements from messing up things on mobile
1 parent 4a0cc90 commit b5b0895

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎sass/_typography.scss

Lines changed: 4 additions & 0 deletions
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)
Please sign in to comment.