Browse Source

perf: 优化modal弹窗样式

main
xingyu 2 years ago
parent
commit
0b7ed771aa
  1. 6
      src/components/Modal/src/index.less

6
src/components/Modal/src/index.less

@ -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;
}