Skip to content

Commit

Permalink
Color Gradients: Adjust max-width for color gradient swatch to acco…
Browse files Browse the repository at this point in the history
…mmodate `reset` button size (WordPress#68626)

* Style: Adjust max-width for color gradient swatch to accommodate button size
* Color: incorporate grid unit to provide `reset` button more space

Co-authored-by: yogeshbhutkar <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
  • Loading branch information
3 people authored Jan 14, 2025
1 parent aa38b22 commit 041ca27
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ $swatch-gap: 12px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: calc(100% - ($button-size-next-default-40px + $grid-unit-05));
}
}

Expand Down

0 comments on commit 041ca27

Please sign in to comment.