From c86aa1ac4d24c8aec6edf1dcbaaf6236c6d96016 Mon Sep 17 00:00:00 2001 From: bluecloud <96812901+pitb2022@users.noreply.github.com> Date: Tue, 27 Feb 2024 17:19:16 +0800 Subject: [PATCH] fix(Dialog): revise dialog content height --- src/components/Dialog/Content/styles.module.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Dialog/Content/styles.module.css b/src/components/Dialog/Content/styles.module.css index 36eb0d1fff..22cd3f075c 100644 --- a/src/components/Dialog/Content/styles.module.css +++ b/src/components/Dialog/Content/styles.module.css @@ -2,13 +2,13 @@ display: flex; flex-direction: column; flex-shrink: 1; - max-height: calc(90vh - 4.25rem); /* 4.25rem is the height of header */ + max-height: calc(80vh - 4.25rem); /* 4.25rem is the height of header */ overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; &.fixedHeight { - height: calc(90vh - 4.25rem); /* 4.25rem is the height of header */ + height: calc(80vh - 4.25rem); /* 4.25rem is the height of header */ @media (--sm-up) { height: min(34rem, 64vh);