From 22ba56fc5f635162178c35f392586041a52294b1 Mon Sep 17 00:00:00 2001 From: "Nahid F. Mohit" Date: Mon, 6 Aug 2018 21:28:05 +0600 Subject: [PATCH] Reset previous changes, add CSS to do the job instead (#7751) --- .../editor/src/components/block-settings-menu/style.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/editor/src/components/block-settings-menu/style.scss b/packages/editor/src/components/block-settings-menu/style.scss index 0f3660d71e2315..15e5e74557cc2b 100644 --- a/packages/editor/src/components/block-settings-menu/style.scss +++ b/packages/editor/src/components/block-settings-menu/style.scss @@ -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 {