1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00

[Cl-10] Make badge inline (#3089)

* feat: make badge inline

* feat: lower y-padding
This commit is contained in:
Andreas Coroiu 2022-07-15 10:59:19 +02:00 committed by GitHub
parent 4be301f125
commit 797fc3a390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,11 +26,10 @@ const hoverStyles: Record<BadgeTypes, string[]> = {
export class BadgeDirective {
@HostBinding("class") get classList() {
return [
"tw-inline-block",
"tw-py-1",
"tw-inline",
"tw-py-0.5",
"tw-px-1.5",
"tw-font-bold",
"tw-leading-none",
"tw-text-center",
"!tw-text-contrast",
"tw-rounded",