Skip to content

Commit 83ed2ed

Browse files
committed
MC-16046: Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading
- Make font-display auto by default;
1 parent 601cd31 commit 83ed2ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/css/source/lib/_typography.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@font-path,
1313
@font-weight: normal,
1414
@font-style: normal,
15-
@font-display: swap
15+
@font-display: auto
1616
) {
1717
@font-face {
1818
font-family: @family-name;

0 commit comments

Comments
 (0)