From 40626ecb78293be0d5e7b6d8acb6048a9b78a4b0 Mon Sep 17 00:00:00 2001 From: Ivelin Megdanov Date: Wed, 12 Feb 2025 11:25:16 +0200 Subject: [PATCH] Fixed max height calculation on mobile --- src/components/NavBar/HorizontalNavBar/NavMenu/styles.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/NavBar/HorizontalNavBar/NavMenu/styles.less b/src/components/NavBar/HorizontalNavBar/NavMenu/styles.less index 0babfbba7..cda63637e 100644 --- a/src/components/NavBar/HorizontalNavBar/NavMenu/styles.less +++ b/src/components/NavBar/HorizontalNavBar/NavMenu/styles.less @@ -113,5 +113,9 @@ @media only screen and (max-width: @minimum) { .nav-menu-container { max-height: calc(100vh - var(--horizontal-nav-bar-size) - var(--vertical-nav-bar-size) - 1rem); + + &.with-warning { + max-height: calc(100vh - var(--horizontal-nav-bar-size) - var(--vertical-nav-bar-size) - 8.5rem); + } } } \ No newline at end of file