From af56f3d1e3f37f320ab7a5ef4de2a7f5ef184ce6 Mon Sep 17 00:00:00 2001 From: yogeshbhutkar Date: Tue, 14 Jan 2025 09:14:28 +0530 Subject: [PATCH] Color: incorporate grid unit to provide `reset` button more space --- .../block-editor/src/components/colors-gradients/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/colors-gradients/style.scss b/packages/block-editor/src/components/colors-gradients/style.scss index c6ebb2eb73da57..661318e5582414 100644 --- a/packages/block-editor/src/components/colors-gradients/style.scss +++ b/packages/block-editor/src/components/colors-gradients/style.scss @@ -111,7 +111,7 @@ $swatch-gap: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - max-width: calc(100% - $button-size-next-default-40px); + max-width: calc(100% - ($button-size-next-default-40px + $grid-unit-05)); } }