From ad6bc03fa64552e8259213e9c9127f01034e19fb Mon Sep 17 00:00:00 2001 From: ameerul-deriv Date: Thu, 22 Aug 2024 13:56:13 +0800 Subject: [PATCH] fix: height resizing issue when viewport changes in p2p guide --- src/pages/guide/screens/Guide/Guide.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/guide/screens/Guide/Guide.scss b/src/pages/guide/screens/Guide/Guide.scss index 6878af30..f34eafe9 100644 --- a/src/pages/guide/screens/Guide/Guide.scss +++ b/src/pages/guide/screens/Guide/Guide.scss @@ -2,6 +2,7 @@ position: absolute; top: 1rem; background-color: #fff; + height: 100%; width: 95.2rem; @include mobile-or-tablet-screen { @@ -14,7 +15,7 @@ display: flex; flex-direction: column; gap: 2.4rem; - height: 75vh; + height: calc(100% - 11.5rem); overflow-y: auto; @include mobile-or-tablet-screen {