mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Fixed #4083 - Button: Button width is to small when have a icon and a badge only
This commit is contained in:
parent
423e88c553
commit
599faa3205
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue