feat(scss): Enhance text rendering with autospace properties (#1188)
* Enhance text rendering with autospace properties Added text autospace properties for better text rendering for CJK characters. * Update text-autospace and text-spacing properties
This commit is contained in:
@@ -12,6 +12,9 @@ body {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: var(--base-font-family);
|
font-family: var(--base-font-family);
|
||||||
font-size: 1.6rem;
|
font-size: 1.6rem;
|
||||||
|
text-autospace: ideograph-alpha ideograph-numeric punctuation insert;
|
||||||
|
text-spacing-trim: trim-start allow-end;
|
||||||
|
-ms-text-autospace: ideograph-alpha;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user