diff --git a/src/styles/code.scss b/src/styles/code.scss index f428d966c62..24a9956563f 100644 --- a/src/styles/code.scss +++ b/src/styles/code.scss @@ -8,6 +8,11 @@ code:not([class]) { display: inline-block; line-height: var(--amplify-line-heights-small); font-style: normal; + + @media (max-width: 320px) { + overflow-wrap: anywhere; + } + h2 &, h3 & { font-size: 0.75em;