Fixed #4083 - Button: Button width is to small when have a icon and a badge only
parent
423e88c553
commit
599faa3205
|
@ -77,7 +77,7 @@ const classes = {
|
|||
root: ({ instance, props }) => [
|
||||
'p-button p-component',
|
||||
{
|
||||
'p-button-icon-only': instance.hasIcon && !props.label,
|
||||
'p-button-icon-only': instance.hasIcon && !props.label && !props.badge,
|
||||
'p-button-vertical': (props.iconPos === 'top' || props.iconPos === 'bottom') && props.label,
|
||||
'p-disabled': instance.$attrs.disabled || instance.$attrs.disabled === '' || props.loading,
|
||||
'p-button-loading': props.loading,
|
||||
|
|
Loading…
Reference in New Issue