icon position fix
This commit is contained in:
parent
b5c066c957
commit
e42d5d2c3f
@ -185,13 +185,17 @@ const StyledButton = styled(ButtonWrapper).attrs((props) => ({
|
||||
.btnIcon,
|
||||
.loader {
|
||||
display: inline-block;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
|
||||
.loader {
|
||||
vertical-align: ${props => ( props.size === 'large' || props.size === 'base' )
|
||||
? 'middle'
|
||||
: props.size === 'medium'
|
||||
? 'text-bottom'
|
||||
: 'text-top'};
|
||||
}
|
||||
}
|
||||
|
||||
${props => props.label && css`
|
||||
.btnIcon,
|
||||
|
Loading…
Reference in New Issue
Block a user