Skip to content

Commit b5f3ffc

Browse files
committed
Styles: Add margin reset for block list items in the editor
1 parent d56d51d commit b5f3ffc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/wp-content/themes/twentytwentyone/assets/css/style-editor.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,11 @@ a:hover {
969969
width: 100%;
970970
}
971971

972+
.wp-block-list-item[data-block] {
973+
margin-top: revert;
974+
margin-bottom: revert;
975+
}
976+
972977
.wp-block-heading h1,
973978
h1,
974979
.h1,
@@ -2647,4 +2652,4 @@ a {
26472652

26482653
.has-red-to-purple-gradient-background {
26492654
background: linear-gradient(160deg, var(--global--color-red), var(--global--color-purple));
2650-
}
2655+
}

0 commit comments

Comments
 (0)