From 37d48d18755ee8a45c9a317198eb01db1a4acee1 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Thu, 15 Jun 2023 13:58:28 -0400 Subject: [PATCH] Reset the position of the toolbar for compat with Gutenberg 15.7+ --- src/styles/theme-compat.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/styles/theme-compat.scss b/src/styles/theme-compat.scss index 6900ac1..b036403 100644 --- a/src/styles/theme-compat.scss +++ b/src/styles/theme-compat.scss @@ -283,11 +283,10 @@ body:not(.gutenberg-support-upload) { } .wporg-support.gutenberg-support .block-editor-block-contextual-toolbar.is-fixed { - top: 92px; -} + position: static; + margin-left: 0; -@media (min-height: 800px) and (min-width: 890px) { - .wporg-support.gutenberg-support .block-editor-block-contextual-toolbar.is-fixed { - top: 122px; + &:not(:empty) { + border-bottom: 1px solid #e0e0e0; } }