Skip to content

Commit

Permalink
Adjust position of Zoom Out inserter and dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Oct 18, 2024
1 parent 4bfd93a commit 619ae4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function ZoomOutSeparator( {
initial={ { height: 0 } }
animate={ {
// Use a height equal to that of the zoom out frame size.
height: 'calc(1 * var(--wp-block-editor-iframe-zoom-out-frame-size) / var(--wp-block-editor-iframe-zoom-out-scale)',
height: 'calc(1.5 * var(--wp-block-editor-iframe-zoom-out-frame-size) / var(--wp-block-editor-iframe-zoom-out-scale)',
} }
exit={ { height: 0 } }
transition={ {
Expand Down
4 changes: 4 additions & 0 deletions packages/block-editor/src/components/block-tools/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -269,3 +269,7 @@
top: 50%;
left: 50%;
}

.components-button.block-editor-button-pattern-inserter__button.block-editor-block-tools__zoom-out-mode-inserter-button {
top: -1px;
}

0 comments on commit 619ae4f

Please sign in to comment.