Skip to content

Commit

Permalink
Improve comments for vertical block mover
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Oct 29, 2024
1 parent 95d9afe commit 1bf3037
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/block-editor/src/components/grid/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@

.editor-collapsible-block-toolbar {
.block-editor-grid-item-mover__move-vertical-button-container {
// Move up a little to prevent the toolbar shift when focus is on the vertical movers.
// Reduce height and move up a little to prevent the toolbar
// shift when focus is on the vertical movers.
@include break-small() {
height: $grid-unit-50;
position: relative;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
overflow: visible;
}

// Move up a little to prevent the toolbar shift when focus is on the vertical movers.
// Reduce height and 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;
Expand Down

0 comments on commit 1bf3037

Please sign in to comment.