Skip to content

Commit 0812bc3

Browse files
committed
fix: truncate forgot password text if it's too big
1 parent 6ff54f6 commit 0812bc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/components/auth/login-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export const LoginForm = (props: Props) => {
7878
`/forgot-password${props.params ? `${props.params}` : ""}`,
7979
);
8080
}}
81-
className="text-muted-foreground hover:text-muted-foreground/80 text-sm absolute right-0 bottom-[2.565rem]" // 2.565 is *just* perfect
81+
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
8282
>
8383
{t("forgotPasswordTitle")}
8484
</a>

0 commit comments

Comments
 (0)