fix: make the styling of the hex code component consistent with others

This commit is contained in:
blessedcoolant 2024-03-21 00:31:33 +05:30
parent 07fe0e8dc8
commit 168b35f86d

View File

@ -55,9 +55,10 @@ const ColorFieldInputComponent = (props: FieldComponentProps<ColorFieldInputInst
background: colorTokenToCssVar('base.700'), background: colorTokenToCssVar('base.700'),
color: colorTokenToCssVar('base.100'), color: colorTokenToCssVar('base.100'),
fontSize: 12, fontSize: 12,
paddingInlineStart: 4, paddingInlineStart: 10,
borderRadius: 4, borderRadius: 4,
paddingBlock: 4, paddingBlock: 4,
outline: 'none',
}} }}
className="nodrag" className="nodrag"
color={rgbaToHex(color)} color={rgbaToHex(color)}