fix: signup form overlaps with locale form. (#3756)

#### What type of PR is this?
/kind improvement
/area console

#### What this PR does / why we need it:
此修改对登录、注册界面原有风格无影响。解决了1920*1080分辨率下,注册界面,“已有账号 立即登录”与“简体中文”文字重叠问题

#### Which issue(s) this PR fixes:
Fixes #3695

#### Special notes for your reviewer:

#### Does this PR introduce a user-facing change?
```release-note
解决1920*1080分辨率下,注册界面,“已有账号 立即登录”与“简体中文”文字重叠问题
```
pull/3773/head
hughding 2023-04-18 11:57:28 +08:00 committed by GitHub
parent 602b783506
commit 8d2f081067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -51,7 +51,9 @@ function handleChangeType() {
const isLoginType = computed(() => type.value !== "signup"); const isLoginType = computed(() => type.value !== "signup");
</script> </script>
<template> <template>
<div class="flex h-screen flex-col items-center bg-white/90 pt-[30vh]"> <div
class="flex h-screen flex-col items-center bg-white/90 pt-[30vh] sm:pt-[20vh]"
>
<IconLogo class="mb-8" /> <IconLogo class="mb-8" />
<div class="flex w-72 flex-col"> <div class="flex w-72 flex-col">
<SignupForm <SignupForm

View File

@ -68,7 +68,9 @@ watch(
); );
</script> </script>
<template> <template>
<div class="flex h-screen flex-col items-center bg-white/90 pt-[30vh]"> <div
class="flex h-screen flex-col items-center bg-white/90 pt-[30vh] sm:pt-[20vh]"
>
<IconLogo class="mb-8" /> <IconLogo class="mb-8" />
<div class="flex w-72 flex-col"> <div class="flex w-72 flex-col">
<SignupForm v-if="type === 'signup'" @succeed="onLoginSucceed" /> <SignupForm v-if="type === 'signup'" @succeed="onLoginSucceed" />