jinmao88
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
8 additions and
8 deletions
-
src/components/Modal/src/index.less
|
|
|
@ -2,7 +2,10 @@ |
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
.ant-modal { |
|
|
|
inset: 0 !important; |
|
|
|
top: 0 !important; |
|
|
|
right: 0 !important; |
|
|
|
bottom: 0 !important; |
|
|
|
left: 0 !important; |
|
|
|
width: 100% !important; |
|
|
|
height: 100%; |
|
|
|
|
|
|
|
@ -60,8 +63,8 @@ |
|
|
|
} |
|
|
|
|
|
|
|
&-close { |
|
|
|
outline: none; |
|
|
|
font-weight: normal; |
|
|
|
outline: none; |
|
|
|
} |
|
|
|
|
|
|
|
&-close-x { |
|
|
|
@ -107,20 +110,17 @@ |
|
|
|
.ant-modal-confirm .ant-modal-body { |
|
|
|
padding: 24px !important; |
|
|
|
} |
|
|
|
|
|
|
|
@media screen and (height <= 600px) { |
|
|
|
@media screen and (max-height: 600px) { |
|
|
|
.ant-modal { |
|
|
|
top: 60px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@media screen and (height <= 540px) { |
|
|
|
@media screen and (max-height: 540px) { |
|
|
|
.ant-modal { |
|
|
|
top: 30px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@media screen and (height <= 480px) { |
|
|
|
@media screen and (max-height: 480px) { |
|
|
|
.ant-modal { |
|
|
|
top: 10px; |
|
|
|
} |
|
|
|
|