diff --git a/apps/web/src/app/auth/settings/webauthn-login-settings/webauthn-login-settings.component.html b/apps/web/src/app/auth/settings/webauthn-login-settings/webauthn-login-settings.component.html
index 4c818a858f8..81e68deaa02 100644
--- a/apps/web/src/app/auth/settings/webauthn-login-settings/webauthn-login-settings.component.html
+++ b/apps/web/src/app/auth/settings/webauthn-login-settings/webauthn-login-settings.component.html
@@ -1,8 +1,22 @@
{{ "loginWithPasskey" | i18n }}
- {{ "on" | i18n }}
- {{ "off" | i18n }}
+ {{ "on" | i18n }}
+ {{ "off" | i18n }}
diff --git a/libs/components/src/badge/badge.directive.ts b/libs/components/src/badge/badge.directive.ts
index 14dc96edd53..640353161ff 100644
--- a/libs/components/src/badge/badge.directive.ts
+++ b/libs/components/src/badge/badge.directive.ts
@@ -31,7 +31,6 @@ export class BadgeDirective {
"tw-px-1.5",
"tw-font-bold",
"tw-text-center",
- "tw-align-text-top",
"!tw-text-contrast",
"tw-rounded",
"tw-border-none",
@@ -46,7 +45,8 @@ export class BadgeDirective {
]
.concat(styles[this.badgeType])
.concat(this.hasHoverEffects ? hoverStyles[this.badgeType] : [])
- .concat(this.truncate ? ["tw-truncate", "tw-max-w-40"] : []);
+ .concat(this.truncate ? ["tw-truncate", "tw-max-w-40"] : [])
+ .concat([`tw-align-${this.align}`]);
}
@HostBinding("attr.title") get title() {
return this.truncate ? this.el.nativeElement.textContent.trim() : null;
@@ -54,6 +54,7 @@ export class BadgeDirective {
@Input() badgeType: BadgeTypes = "primary";
@Input() truncate = true;
+ @Input() align = "text-top";
private hasHoverEffects = false;
diff --git a/libs/components/src/badge/badge.stories.ts b/libs/components/src/badge/badge.stories.ts
index 5912250e0e1..4cddf05ff46 100644
--- a/libs/components/src/badge/badge.stories.ts
+++ b/libs/components/src/badge/badge.stories.ts
@@ -15,6 +15,7 @@ export default {
args: {
badgeType: "primary",
truncate: false,
+ align: "text-top",
},
parameters: {
design: {