FIX: Set the padding in coor swatches to 0

This commit is contained in:
Nicolás Hatcher
2025-06-29 10:10:08 +02:00
committed by Nicolás Hatcher Andrés
parent 97d3b04772
commit 8a9ae00cad

View File

@@ -272,6 +272,7 @@ const ColorGridCol = styled.div`
const ColorSwatch = styled.button<{ $color: string }>` const ColorSwatch = styled.button<{ $color: string }>`
width: 16px; width: 16px;
height: 16px; height: 16px;
padding: 0px;
${({ $color }): string => { ${({ $color }): string => {
if ($color.toUpperCase() === "#FFFFFF") { if ($color.toUpperCase() === "#FFFFFF") {
return `border: 1px solid ${theme.palette.grey["300"]};`; return `border: 1px solid ${theme.palette.grey["300"]};`;