chore: fix checklist indentation jumping
This commit is contained in:
@@ -35,6 +35,13 @@
|
|||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
list-style-position: outside;
|
list-style-position: outside;
|
||||||
|
|
||||||
|
// Fix indentation for checklists
|
||||||
|
// Lexical doesn't support setting a class specifically for checklists at the moment
|
||||||
|
// so we use the has selector to see if the items are check list items
|
||||||
|
&:has(> [aria-checked]) {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
&.Lexical__rtl {
|
&.Lexical__rtl {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
|
|||||||
Reference in New Issue
Block a user