From 60e30e12f607334aead565fba774ec7f58e764b5 Mon Sep 17 00:00:00 2001 From: nfmohit Date: Thu, 19 Jul 2018 22:24:50 +0600 Subject: [PATCH] Reset previous changes, add CSS to do the job instead --- .../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 d972bc0ba581a..ead402c70131e 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: 1px 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 {