fix: truncate forgot password text if it's too big

This commit is contained in:
Stavros
2026-07-09 16:18:28 +03:00
parent 6ff54f62fd
commit 0812bc3869
+1 -1
View File
@@ -78,7 +78,7 @@ export const LoginForm = (props: Props) => {
`/forgot-password${props.params ? `${props.params}` : ""}`, `/forgot-password${props.params ? `${props.params}` : ""}`,
); );
}} }}
className="text-muted-foreground hover:text-muted-foreground/80 text-sm absolute right-0 bottom-[2.565rem]" // 2.565 is *just* perfect className="text-muted-foreground hover:text-muted-foreground/80 text-sm absolute right-0 bottom-[2.565rem] max-w-40 truncate" // 2.565 is *just* perfect
> >
{t("forgotPasswordTitle")} {t("forgotPasswordTitle")}
</a> </a>