Skip to content

Commit

Permalink
Reset previous changes, add CSS to do the job instead (#7751)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nahid F. Mohit authored and aduth committed Aug 6, 2018
1 parent ce6643a commit 22ba56f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/editor/src/components/block-settings-menu/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
margin-top: $item-spacing;
margin-bottom: $item-spacing;
border-top: $border-width solid $light-gray-500;

// Check if the separator is the last child in the node and if so, hide itself
&:last-child {
display: none;
}
}

.editor-block-settings-menu__title {
Expand Down

0 comments on commit 22ba56f

Please sign in to comment.