Skip to content

Commit f490314

Browse files
katiekleinkatiegoines
andauthored
fix cutoff words in viewports under 320px (#7942)
Co-authored-by: katiegoines <katiegoines@gmail.com>
1 parent 32e0403 commit f490314

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/styles/code.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ code:not([class]) {
88
display: inline-block;
99
line-height: var(--amplify-line-heights-small);
1010
font-style: normal;
11+
12+
@media (max-width: 320px) {
13+
overflow-wrap: anywhere;
14+
}
15+
1116
h2 &,
1217
h3 & {
1318
font-size: 0.75em;

0 commit comments

Comments
 (0)