fix(blocks-antd): Fix button color on focus.

This commit is contained in:
Gervwyk 2022-04-22 14:29:23 +02:00
parent bacaedbbc8
commit c56d1e4043

View File

@ -47,6 +47,10 @@ const ButtonBlock = ({
backgroundColor: color(properties.color, 5),
borderColor: color(properties.color, 5),
},
'&:focus': properties.color && {
backgroundColor: properties.color,
borderColor: properties.color,
},
},
properties.style,
])}