提交 99efe1d2 作者: 方治民

fix: 修复 @media css 问题

上级 eca370ef
...@@ -108,19 +108,19 @@ ...@@ -108,19 +108,19 @@
padding: 24px !important; padding: 24px !important;
} }
@media screen and (height <= 600px) { @media screen and (min-height: 600px) {
.ant-modal { .ant-modal {
top: 60px; top: 60px;
} }
} }
@media screen and (height <= 540px) { @media screen and (min-height: 540px) {
.ant-modal { .ant-modal {
top: 30px; top: 30px;
} }
} }
@media screen and (height <= 480px) { @media screen and (min-height: 480px) {
.ant-modal { .ant-modal {
top: 10px; top: 10px;
} }
......
...@@ -39,6 +39,7 @@ module.exports = { ...@@ -39,6 +39,7 @@ module.exports = {
'string-quotes': null, 'string-quotes': null,
'named-grid-areas-no-invalid': null, 'named-grid-areas-no-invalid': null,
'no-descending-specificity': null, 'no-descending-specificity': null,
'media-feature-range-notation': null,
'font-family-no-missing-generic-family-keyword': null, 'font-family-no-missing-generic-family-keyword': null,
'rule-empty-line-before': [ 'rule-empty-line-before': [
'always', 'always',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论