perf: 优化modal弹窗样式

pull/21/MERGE
xingyu 2023-06-08 10:57:02 +08:00
parent 3bf20e2146
commit 0b7ed771aa
1 changed files with 3 additions and 3 deletions

View File

@ -108,19 +108,19 @@
padding: 24px !important;
}
@media screen and (max-height: 600px) {
@media screen and (height <= 600px) {
.ant-modal {
top: 60px;
}
}
@media screen and (max-height: 540px) {
@media screen and (height <= 540px) {
.ant-modal {
top: 30px;
}
}
@media screen and (max-height: 480px) {
@media screen and (height <= 480px) {
.ant-modal {
top: 10px;
}