Skip to content

Commit

Permalink
Color Picker: Fall back to min-width of popover (#10805)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle authored and youknowriad committed Oct 19, 2018
1 parent 274348e commit 1292d8b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/components/src/color-palette/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,6 @@ $color-palette-circle-spacing: 14px;
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;
}

.components-color-palette__picker:not(.is-mobile).components-popover .components-popover__content {
// ChromePicker has a hardcoded width, so we need to override the popover min-width.
min-width: unset;
}

.block-editor__container .components-popover.components-color-palette__picker.is-bottom {
z-index: z-index(".block-editor__container .components-popover.components-color-palette__picker.is-bottom");
}

0 comments on commit 1292d8b

Please sign in to comment.