Skip to content

Commit db919fc

Browse files
ryelleantpb
authored andcommitted
Color Picker: Fall back to min-width of popover (WordPress#10805)
1 parent 2afd7e6 commit db919fc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/components/src/color-palette/style.scss

-5
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,6 @@ $color-palette-circle-spacing: 14px;
145145
background-clip: content-box, content-box, content-box, content-box, content-box, content-box, padding-box, padding-box, padding-box, padding-box, padding-box, padding-box;
146146
}
147147

148-
.components-color-palette__picker:not(.is-mobile).components-popover .components-popover__content {
149-
// ChromePicker has a hardcoded width, so we need to override the popover min-width.
150-
min-width: unset;
151-
}
152-
153148
.block-editor__container .components-popover.components-color-palette__picker.is-bottom {
154149
z-index: z-index(".block-editor__container .components-popover.components-color-palette__picker.is-bottom");
155150
}

0 commit comments

Comments
 (0)