1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-28 10:51:42 +01:00

Merge branch 'main' into uif/cl-524/chromatic-ignores

This commit is contained in:
Victoria League 2024-12-23 12:13:45 -05:00 committed by GitHub
commit 74eb4e6cf4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ export class BadgeComponent implements FocusableElement {
"disabled:tw-cursor-not-allowed", "disabled:tw-cursor-not-allowed",
] ]
.concat(styles[this.variant]) .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 : []); .concat(this.truncate ? this.maxWidthClass : []);
} }
@HostBinding("attr.title") get titleAttr() { @HostBinding("attr.title") get titleAttr() {