Skip to content

Commit

Permalink
Polish spacing in block ellipsis menu (#2955)
Browse files Browse the repository at this point in the history
This fixes an issue where the last child of the menu did not have top spacing.
  • Loading branch information
jasmussen authored and mtias committed Oct 10, 2017
1 parent 6268099 commit 4706b1f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion editor/block-settings-menu/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@
display: block;
}

.editor-block-settings-menu__content &:first-child {
.editor-block-settings-menu__content & {
margin-bottom: 8px;
}

.editor-block-settings-menu__content &:last-child {
margin-bottom: 0;
}
}

0 comments on commit 4706b1f

Please sign in to comment.