mirror of
https://github.com/bitwarden/browser
synced 2025-01-12 18:34:54 +01:00
[PM-16102] Add min width on interactive badges (#12514)
This commit is contained in:
parent
23210f4a39
commit
395258d63e
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user