Fix padding in the library loading buttons (#2331)
* Fix padding in the library loading buttons * Update src/components/Stack.tsx Co-authored-by: Dominic Lee <34794189+dominictwlee@users.noreply.github.com> * extend CSSProperties TS definition Co-authored-by: Dominic Lee <34794189+dominictwlee@users.noreply.github.com> Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
@ -260,11 +260,7 @@ export const ColorPicker = ({
|
||||
<button
|
||||
className="color-picker-label-swatch"
|
||||
aria-label={label}
|
||||
style={
|
||||
color
|
||||
? ({ "--swatch-color": color } as React.CSSProperties)
|
||||
: undefined
|
||||
}
|
||||
style={color ? { "--swatch-color": color } : undefined}
|
||||
onClick={() => setActive(!isActive)}
|
||||
ref={pickerButton}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user