Skip to content

Commit

Permalink
Try: Fix mover positioning. (WordPress#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
2 people authored and patil-vipul committed Jun 17, 2024
1 parent 68c22cc commit c580d59
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 c580d59

Please sign in to comment.