Skip to content

Commit

Permalink
fix: auto direction for text
Browse files Browse the repository at this point in the history
  • Loading branch information
st1020 committed Feb 27, 2024
1 parent 25361cf commit 466255d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions static/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
.dark body {
background: var(--bg-dark);
}

*,
::before,
::after {
/* Auto direction for text */
unicode-bidi: plaintext;
}
}

@layer utilities {
Expand Down
6 changes: 5 additions & 1 deletion static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 466255d

Please sign in to comment.