From 0cb1c060056eb198229684a4bc7cfacde70aa6af Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Tue, 26 Nov 2024 08:02:03 +0900 Subject: [PATCH 1/2] CustomGradientPicker: Prepare `Button`s for 40px default size --- .../src/custom-gradient-picker/gradient-bar/control-points.tsx | 2 ++ packages/components/src/custom-gradient-picker/style.scss | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/components/src/custom-gradient-picker/gradient-bar/control-points.tsx b/packages/components/src/custom-gradient-picker/gradient-bar/control-points.tsx index 3911e21e0f934..d68ee7502e1f6 100644 --- a/packages/components/src/custom-gradient-picker/gradient-bar/control-points.tsx +++ b/packages/components/src/custom-gradient-picker/gradient-bar/control-points.tsx @@ -66,6 +66,7 @@ function ControlPointButton( { aria-describedby={ descriptionId } aria-haspopup="true" aria-expanded={ isOpen } + __next40pxDefaultSize className={ clsx( 'components-custom-gradient-picker__control-point-button', { @@ -349,6 +350,7 @@ function InsertPoint( { } } renderToggle={ ( { isOpen, onToggle } ) => (