2
0

Disable kerning for Japanese text to preserve monospaced alignment for readability (#34448)

This commit is contained in:
SASAGAWA Hiroto
2025-04-14 19:57:21 +09:00
committed by GitHub
parent abcb9b8a61
commit 5991caae87

View File

@@ -17,7 +17,12 @@ body {
font-weight: 400;
color: $primary-text-color;
text-rendering: optimizelegibility;
// Disable kerning for Japanese text to preserve monospaced alignment for readability
&:not(:lang(ja)) {
font-feature-settings: 'kern';
}
text-size-adjust: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0%);
-webkit-tap-highlight-color: transparent;