mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
[PM-16102] Add min width on interactive badges (#12514)
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user