Skip to content

Commit

Permalink
Tiny tweak to position close button properly in the inserter (#61461)
Browse files Browse the repository at this point in the history
* Account for the existing border to make this the same close as in list view.

Co-authored-by: richtabor <[email protected]>
Co-authored-by: jeryj <[email protected]>
  • Loading branch information
3 people authored May 8, 2024
1 parent 7f4adc2 commit 3997457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/inserter-sidebar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

.editor-inserter-sidebar__close-button {
position: absolute;
top: $grid-unit-15;
top: $grid-unit-15 - $border-width * 0.5; // Account for the existing border to make this the same close as in list view.
right: $grid-unit-15;
}

Expand Down

0 comments on commit 3997457

Please sign in to comment.