fix: auto direction for text

This commit is contained in:
st1020 2024-02-27 20:14:04 +08:00
parent 25361cfd7a
commit 466255df58
2 changed files with 12 additions and 1 deletions

View file

@ -23,6 +23,13 @@
.dark body {
background: var(--bg-dark);
}
*,
::before,
::after {
/* Auto direction for text */
unicode-bidi: plaintext;
}
}
@layer utilities {

View file

@ -455,7 +455,11 @@ body {
background: var(--bg-dark);
}
*, ::before, ::after {
*,
::before,
::after {
/* Auto direction for text */
unicode-bidi: plaintext;
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;