Skip to content

Commit

Permalink
feat: force dir and text-align when content-language is selected by user
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafaznv committed Jul 16, 2024
1 parent 591c2f2 commit 48f8279
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions resources/sass/field.sass
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@
list-style: decimal
padding-left: 40px

.ck.ck-editor__main,
.ckeditor_content
*:has(>[dir=rtl])
direction: rtl
text-align: right

*:has(>[dir=ltr])
direction: ltr
text-align: left

.w-4\/5
width: 80%

Expand Down

0 comments on commit 48f8279

Please sign in to comment.