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
2 people authored and ellatrix committed Jun 11, 2024
1 parent 727c302 commit f47b2a1
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 f47b2a1

Please sign in to comment.