mirror of
https://github.com/outline/outline.git
synced 2026-08-03 13:27:25 +03:00
fix: remove vertical margin from checklist nested in a list
A checklist nested inside any list (bullet, ordered, or another checklist) no longer carries the 1em vertical margin of a top-level checklist. Since both list_item and checkbox_item render as li elements, target any checklist-wrapper inside an li rather than only those inside another wrapper. https://claude.ai/code/session_01BGH191WyuL9SgQyjfJ3YsD
This commit is contained in:
@@ -1478,11 +1478,11 @@ ol li {
|
||||
.${EditorStyleHelper.checklistWrapper} {
|
||||
position: relative;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.${EditorStyleHelper.checklistWrapper} {
|
||||
position: static;
|
||||
margin: 0;
|
||||
}
|
||||
li .${EditorStyleHelper.checklistWrapper} {
|
||||
position: static;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.${EditorStyleHelper.checklistCompletedToggle} {
|
||||
|
||||
Reference in New Issue
Block a user