feat: improve UI and warning on mobile

This commit is contained in:
Chen, Tai-Lin committed 2023-11-03 13:58:31 +08:00
1 parent 82c68a316f
commit 5731d5de1a
5 files changed
+33 -23

No files matched your search

+2 -2
View File
@@ -45,12 +45,12 @@ async function handleSubmit({ username, success, error }) {
}
</script>
<template>
<div class="relative w-screen h-screen">
<div class="w-screen h-screen">
<Background class="w-full h-full" />
<div
class="h-screen w-screen absolute top-0 left-0 flex flex-wrap justify-center content-center"
>
<div class="w-1/3">
<div class="w-fit">
<AuthForm
@onSubmit="handleSubmit"
@onChange="check"
+3 -3
View File
@@ -32,12 +32,12 @@ const handleLogin = async ({ username, password, success, error }) => {
}
</script>
<template>
<div class="relative w-screen h-screen">
<div class="w-screen h-screen">
<Background class="w-full h-full" />
<div
class="h-screen w-screen absolute top-0 left-0 flex flex-wrap justify-center content-center"
class="w-screen h-screen absolute top-0 left-0 flex flex-wrap justify-center content-center"
>
<div class="w-1/3">
<div class="w-fit">
<AuthForm @onSubmit="handleLogin" type="login" />
</div>
</div>
+2 -2
View File
@@ -65,12 +65,12 @@ async function check({ username, email, password, error }) {
}
</script>
<template>
<div class="relative w-screen h-screen">
<div class="w-screen h-screen">
<Background class="w-full h-full" />
<div
class="h-screen w-screen absolute top-0 left-0 flex flex-wrap justify-center content-center"
>
<div class="w-1/3">
<div class="w-fit">
<AuthForm
@onSubmit="handleRegister"
@onChange="check"