mirror of
https://github.com/mastodon/mastodon.git
synced 2025-05-11 20:21:10 +00:00
Disable kerning for Japanese text to preserve monospaced alignment for readability (#34448)
This commit is contained in:
parent
abcb9b8a61
commit
5991caae87
|
@ -17,7 +17,12 @@ body {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: $primary-text-color;
|
color: $primary-text-color;
|
||||||
text-rendering: optimizelegibility;
|
text-rendering: optimizelegibility;
|
||||||
font-feature-settings: 'kern';
|
|
||||||
|
// Disable kerning for Japanese text to preserve monospaced alignment for readability
|
||||||
|
&:not(:lang(ja)) {
|
||||||
|
font-feature-settings: 'kern';
|
||||||
|
}
|
||||||
|
|
||||||
text-size-adjust: none;
|
text-size-adjust: none;
|
||||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0%);
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0%);
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user