Skip to content

Commit

Permalink
Fix the issue with resizable box
Browse files Browse the repository at this point in the history
  • Loading branch information
Mukulsingh27 committed Mar 4, 2025
1 parent 390426b commit e277680
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions packages/block-library/src/avatar/editor.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
.wp-block-avatar__image img {
width: 100%;
.wp-block-avatar__image {
img {
width: 100%;
}
}

.wp-block-avatar.aligncenter {
.components-resizable-box__container {
margin: 0 auto;
.wp-block-avatar {
&.aligncenter {
.components-resizable-box__container {
margin: 0 auto;
}
}

&__link {
pointer-events: none;

.components-resizable-box__handle {
pointer-events: auto;
}
}
}

0 comments on commit e277680

Please sign in to comment.