Skip to content

Commit

Permalink
Duotone Control: Update popover padding for improved layout consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshbhutkar committed Jan 14, 2025
1 parent ddef175 commit f13734b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ $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.components-dropdown__content {
.block-editor-duotone-control__popover.components-popover {
> .components-popover__content {
padding: $grid-unit-10;
padding: $popover-padding;
width: $popover-width;
}

Expand Down

0 comments on commit f13734b

Please sign in to comment.