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