修复:收口小程序键盘遮挡适配
This commit is contained in:
@@ -1,3 +1,19 @@
|
||||
.auth-page-root {
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.auth-scroll {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.auth-page-shell {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.auth-page {
|
||||
background:
|
||||
radial-gradient(circle at top right, rgba(255, 204, 219, 0.32), transparent 30%),
|
||||
@@ -5,7 +21,7 @@
|
||||
}
|
||||
|
||||
.auth-content {
|
||||
min-height: calc(100vh - 120rpx);
|
||||
min-height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
@@ -13,6 +29,11 @@
|
||||
padding: 24rpx 24rpx 40rpx;
|
||||
}
|
||||
|
||||
.auth-content.keyboard-active {
|
||||
justify-content: flex-start;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.auth-panel,
|
||||
.reset-card {
|
||||
width: 100%;
|
||||
@@ -282,3 +303,8 @@
|
||||
.mini-shop-action {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.keyboard-spacer {
|
||||
width: 100%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user