[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
1 changed files with 2 additions and 3 deletions

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",