diff --git a/components/product/Swatch/Swatch.module.css b/components/product/Swatch/Swatch.module.css index fb690f683..ede13267b 100644 --- a/components/product/Swatch/Swatch.module.css +++ b/components/product/Swatch/Swatch.module.css @@ -34,7 +34,7 @@ color: white !important; } -.active.size { +.active { @apply border-accents-9 border-2; padding-right: 1px; padding-left: 1px; @@ -46,6 +46,7 @@ } .active.textLabel { + @apply border-accents-9 border-2; padding-right: calc(1rem - 1px); padding-left: calc(1rem - 1px); } diff --git a/components/product/Swatch/Swatch.tsx b/components/product/Swatch/Swatch.tsx index 025410439..7e8de3e4a 100644 --- a/components/product/Swatch/Swatch.tsx +++ b/components/product/Swatch/Swatch.tsx @@ -34,7 +34,7 @@ const Swatch: FC & SwatchProps> = ({ [s.size]: variant === 'size', [s.color]: color, [s.dark]: color ? isDark(color) : false, - [s.textLabel]: !color && label && label.length < 4, + [s.textLabel]: !color && label && label.length > 3, }, className )