returned ability to set custom min width
This commit is contained in:
parent
15b9113ba0
commit
f608ffcd1a
@ -143,7 +143,9 @@ const StyledButton = styled(ButtonWrapper).attrs((props) => ({
|
||||
: props.theme.button.border.base};
|
||||
|
||||
${(props) => props.scale && `width: 100%;`};
|
||||
min-width: ${(props) => props.theme.button.minWidth[props.size]};
|
||||
min-width: ${(props) =>
|
||||
props.minwidth ? props.minwidth : props.theme.button.minWidth[props.size]};
|
||||
|
||||
padding: ${(props) => `${props.theme.button.padding[props.size]}`};
|
||||
|
||||
cursor: ${(props) =>
|
||||
|
Loading…
Reference in New Issue
Block a user