Skip to content

Commit e17cbc0

Browse files
fix(ui): missing margin in checklist while in RTL (#827)
* fix(ui): missing margin in checklist while in RTL * chore: decrease margin next to checkbox * Changed margin for other list item blocks --------- Co-authored-by: Matthew Lipski <[email protected]>
1 parent 0cf7e85 commit e17cbc0

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

packages/core/src/editor/Block.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ NESTED BLOCKS
156156
/* Ordered */
157157
.bn-block-content[data-content-type="numberedListItem"] {
158158
display: flex;
159-
gap: 1.2em;
159+
gap: 0.5em;
160160
}
161161

162162
[data-content-type="numberedListItem"] {
@@ -182,7 +182,7 @@ NESTED BLOCKS
182182
/* Unordered */
183183
.bn-block-content[data-content-type="bulletListItem"] {
184184
display: flex;
185-
gap: 1.2em;
185+
gap: 0.5em;
186186
}
187187

188188
/* Checked */
@@ -191,7 +191,8 @@ NESTED BLOCKS
191191
}
192192

193193
.bn-block-content[data-content-type="checkListItem"] > div > div > input {
194-
margin: 0 1.2em 0 0;
194+
margin: 0;
195+
margin-inline-end: 0.5em;
195196
cursor: pointer;
196197
}
197198

0 commit comments

Comments
 (0)