diff --git a/components/lib/button/BaseButton.vue b/components/lib/button/BaseButton.vue index 8bcdc9742..8f57b99b2 100644 --- a/components/lib/button/BaseButton.vue +++ b/components/lib/button/BaseButton.vue @@ -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,