Skip to content

Commit 015e144

Browse files
authored
Fix small gap in style variation button (#12090)
This PR fixes #12066. I believe the issue is caused by the border on the button being an inset shadow, which stacks below the background colors of the content inside the preview. By making it a border, this becomes a non issue.
1 parent b462725 commit 015e144

File tree

1 file changed

+1
-1
lines changed
  • packages/editor/src/components/block-styles

1 file changed

+1
-1
lines changed

packages/editor/src/components/block-styles/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
.editor-block-styles__item-preview {
3131
outline: $border-width solid transparent; // Shown in Windows High Contrast mode.
32-
box-shadow: inset 0 0 0 1px rgba($dark-gray-900, 0.2);
32+
border: 1px solid rgba($dark-gray-900, 0.2);
3333
overflow: hidden;
3434
padding: 0;
3535
text-align: initial;

0 commit comments

Comments
 (0)