File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { ReactNode } from "react" ;
2
2
3
3
export default function LoginPageLayout ( { children } : { readonly children : ReactNode } ) {
4
- return < div className = "absolute top-0 bottom-0 left-0 right-0 bg-primary" > { children } </ div > ;
4
+ return < div className = "flex min-h-full min-h-[100dvh] items-center bg-primary" > { children } </ div > ;
5
5
}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export const BackLink = () => {
8
8
const previousPath = searchParams . get ( "previousPath" ) || "/" ;
9
9
10
10
return (
11
- < Link href = { previousPath } className = "mt-12 text-sm text-white underline" >
11
+ < Link href = { previousPath } className = "text-sm text-white underline" >
12
12
Powrót do strony głównej
13
13
</ Link >
14
14
) ;
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import { BackLink } from "./BackLink";
3
3
import { GitHubLoginButton } from "./GitHubLoginButton" ;
4
4
5
5
export const LoginForm = ( ) => (
6
- < div className = "mx-auto flex max-w-[520px] flex-col items-center p-8 pt-[20vmin] " >
6
+ < div className = "mx-auto flex max-w-[520px] flex-col items-center gap-10 p-8 " >
7
7
< AppLogo />
8
- < p className = "mt-8 mb-10 text-center text-xl text-white" >
8
+ < p className = "text-center text-xl text-white" >
9
9
Stwórz konto już dzisiaj i korzystaj z dodatkowych funkcji serwisu DevFAQ!
10
10
</ p >
11
11
< GitHubLoginButton />
You can’t perform that action at this time.
0 commit comments