Skip to content

Commit

Permalink
Duotone: Fix scrollbars displayed on Duotone Control (#67187)
Browse files Browse the repository at this point in the history
Co-authored-by: yogeshbhutkar <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: t-hamano <[email protected]>
  • Loading branch information
4 people authored Jan 15, 2025
1 parent 8ba15b1 commit 184f179
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ $swatch-size: 28px;
$swatch-gap: 12px;

$popover-width: 260px;
$popover-padding: $grid-unit-20;
$popover-padding: $grid-unit-10;

$swatch-columns: math.floor(math.div($popover-width + $swatch-gap - 2 * $popover-padding, $swatch-size + $swatch-gap));

.block-editor-duotone-control__popover {
.block-editor-duotone-control__popover.components-popover {
> .components-popover__content {
padding: $popover-padding;
width: $popover-width;
Expand Down

0 comments on commit 184f179

Please sign in to comment.