Skip to content

Commit

Permalink
[PM-16102] Add min width on interactive badges (#12514)
Browse files Browse the repository at this point in the history
  • Loading branch information
vleague2 authored Dec 23, 2024
1 parent 23210f4 commit 395258d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/components/src/badge/badge.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class BadgeComponent implements FocusableElement {
"disabled:tw-cursor-not-allowed",
]
.concat(styles[this.variant])
.concat(this.hasHoverEffects ? hoverStyles[this.variant] : [])
.concat(this.hasHoverEffects ? [...hoverStyles[this.variant], "tw-min-w-10"] : [])
.concat(this.truncate ? this.maxWidthClass : []);
}
@HostBinding("attr.title") get titleAttr() {
Expand Down

0 comments on commit 395258d

Please sign in to comment.