Skip to content

Commit

Permalink
fix: list ui misplacement when direction right to left (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzxming authored Jan 10, 2025
1 parent b424b90 commit 3c42926
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/fluent-editor/src/assets/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,16 @@
content: counter(list-9, decimal) '. ';
}

li.ql-direction-rtl {
&::before,
&.checked > .ql-ui,
&.unchecked > .ql-ui {
margin-left: 0.3em;
margin-right: -1.5em;
text-align: left;
}
}

// 任务列表
@include tasklist;

Expand Down Expand Up @@ -314,6 +324,7 @@
border: 1px solid #adb0b8;
padding: 5px 10px;
}

@include table;

// 字体
Expand Down

0 comments on commit 3c42926

Please sign in to comment.