Skip to content

Commit

Permalink
Try resetting the box-sizing on the placeholder.
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinan committed Aug 1, 2024
1 parent 12cdcf0 commit 95f264f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/block-library/src/site-logo/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@
border-radius: inherit;
}

// Reset the box-sizing for the placeholder to prevent the border
// from covering the logo upload button.
.wp-block-site-logo .components-placeholder.components-placeholder {
box-sizing: initial;
}

.block-library-site-logo__inspector-upload-container {
position: relative;
// Since there is no option to skip rendering the drag'n'drop icon in drop
Expand Down

0 comments on commit 95f264f

Please sign in to comment.