From 0262eb7d1a4325b8044ffe1ceed30cbc04fd5978 Mon Sep 17 00:00:00 2001 From: xingyu Date: Thu, 8 Jun 2023 11:02:48 +0800 Subject: [PATCH] revert: modal --- src/components/Modal/src/index.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Modal/src/index.less b/src/components/Modal/src/index.less index e456147c..709e4dac 100644 --- a/src/components/Modal/src/index.less +++ b/src/components/Modal/src/index.less @@ -108,19 +108,19 @@ 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; }