fix: 去掉登录页多出来的滚动条
This commit is contained in:
@@ -22,6 +22,7 @@ body,
|
|||||||
#app {
|
#app {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
html {
|
html {
|
||||||
color-scheme: light;
|
color-scheme: light;
|
||||||
|
|||||||
@@ -75,11 +75,14 @@ async function onSubmit() {
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.login-page {
|
.login-page {
|
||||||
min-height: 100vh;
|
box-sizing: border-box;
|
||||||
|
height: 100vh;
|
||||||
|
height: 100dvh;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 40px 16px;
|
padding: 40px 16px;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.login-card {
|
.login-card {
|
||||||
width: 440px;
|
width: 440px;
|
||||||
|
|||||||
Reference in New Issue
Block a user