Skip to content

Commit

Permalink
Merge pull request #132 from mostafaznv/dev
Browse files Browse the repository at this point in the history
feat: force dir and text-align when content-language is selected by user
  • Loading branch information
mostafaznv authored Jul 16, 2024
2 parents 658c0be + a732e68 commit b555bf1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/css/field.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

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 b555bf1

Please sign in to comment.