Skip to content

Commit

Permalink
Fix wide widget styles to allow floated contents. (#32976)
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines authored and youknowriad committed Jun 25, 2021
1 parent f731164 commit 23db24d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/widgets/src/blocks/legacy-widget/editor.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.wp-block-legacy-widget__edit-form {
display: flow-root;
background: $white;
border-radius: $radius-block-ui;
border: 1px solid $gray-900;
Expand Down Expand Up @@ -130,6 +131,11 @@
}
}

// Wide widgets opening in popovers in the Customizer should have a min-width
.components-popover__content .wp-block-legacy-widget__edit-form {
min-width: 400px;
}

.wp-block-legacy-widget {
.components-select-control__input {
padding: 0;
Expand Down

0 comments on commit 23db24d

Please sign in to comment.