Skip to content

Commit 5fe4513

Browse files
committed
Remove all emoji CSS causing number spacing issues
Both font-variant-emoji and font-feature-settings were causing weird spacing in numbers throughout the site (17 rendering as 1 7). Removed all emoji-related CSS. Emojis will render naturally based on browser defaults - this is better than breaking all number display.
1 parent fe6218b commit 5fe4513

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

docs/.vitepress/theme/custom.css

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,3 @@ html:not(.dark) .diagram-light {
6666
margin-bottom: 0.5rem;
6767
}
6868
}
69-
70-
/* Fix Chrome emoji rendering - Chrome renders emojis as text/monochrome by default */
71-
/* Force color emoji presentation for Chrome and other browsers */
72-
h1, h2, h3, h4, h5, h6,
73-
p, li, td, th,
74-
.vp-doc {
75-
/* Chrome-specific: force color emoji rendering */
76-
font-variant-emoji: emoji;
77-
}
78-
79-
/* Ensure table cells render emojis properly in Chrome */
80-
table td, table th {
81-
font-variant-emoji: emoji;
82-
font-size: 1em;
83-
line-height: 1.7;
84-
vertical-align: middle;
85-
}

0 commit comments

Comments
 (0)