File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @cloudfour/patterns ' : patch
3+ ---
4+
5+ Fixes issue where some code snippets had very large text in iOS Safari.
Original file line number Diff line number Diff line change @@ -33,13 +33,17 @@ html {
3333 * considered when calculating `min-content` intrinsic sizes, which means
3434 * layout remains broken in any CSS Grid layout.
3535 * @see https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap#values
36- * 2. Prevent size adjustments on orientation change.
36+ * 2. Prevent size adjustments on orientation change. The `-webkit-` prefix is
37+ * still required for iOS Safari.
3738 */
3839
3940body {
4041 font-family : font-family .$sans-fallback ;
4142 line-height : line-height .$loose ;
4243 overflow-wrap : anywhere; /* 1 */
44+
45+ /* stylelint-disable-next-line property-no-vendor-prefix */
46+ -webkit-text-size-adjust : none ; /* 2 */
4347 text-size-adjust : none ; /* 2 */
4448
4549 @supports (font-variation-settings : normal ) {
You can’t perform that action at this time.
0 commit comments