From 2cd72c25e2834a6a00d2c0f4cb71cce23e8d4321 Mon Sep 17 00:00:00 2001 From: Joen A <1204802+jasmussen@users.noreply.github.com> Date: Tue, 4 Jun 2024 12:45:39 +0200 Subject: [PATCH] Try: Fix mover positioning. (#62226) * Try: Fix mover positioning. * Update packages/editor/src/components/collapsible-block-toolbar/style.scss Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> --------- Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> --- .../editor/src/components/collapsible-block-toolbar/style.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/editor/src/components/collapsible-block-toolbar/style.scss b/packages/editor/src/components/collapsible-block-toolbar/style.scss index 701d6fa7c5ecc..80d25da1a3e28 100644 --- a/packages/editor/src/components/collapsible-block-toolbar/style.scss +++ b/packages/editor/src/components/collapsible-block-toolbar/style.scss @@ -64,8 +64,9 @@ // Move up a little to prevent the toolbar shift when focus is on the vertical movers. @include break-small() { &:not(.is-horizontal) .block-editor-block-mover__move-button-container { + height: $grid-unit-50; position: relative; - top: -10px; + top: -5px; // Should be -4px, but that causes scrolling when focus lands on the movers, in a 60px header. } } }