Skip to content

Commit

Permalink
Try: Fix mover positioning. (#62226)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
jasmussen and t-hamano authored Jun 4, 2024
1 parent b89e79a commit 2cd72c2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
}
}
Expand Down

0 comments on commit 2cd72c2

Please sign in to comment.