From 7b4204a613fc974ac04e2d3d19f632b80c9d8ad4 Mon Sep 17 00:00:00 2001 From: alexisben <alex@noesya.coop> Date: Tue, 7 Mar 2023 10:55:42 +0100 Subject: [PATCH] fix menu scroll --- assets/sass/_theme/design-system/header.sass | 2 +- assets/sass/_theme/design-system/nav.sass | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/sass/_theme/design-system/header.sass b/assets/sass/_theme/design-system/header.sass index 7b19cb53..44a354c2 100644 --- a/assets/sass/_theme/design-system/header.sass +++ b/assets/sass/_theme/design-system/header.sass @@ -62,7 +62,7 @@ body z-index: $zindex-body-overlay html.has-menu-opened &, - html.has-modal-opened & + html.has-modal-opened &, html.has-offcanvas-opened & overflow: hidden height: 100% diff --git a/assets/sass/_theme/design-system/nav.sass b/assets/sass/_theme/design-system/nav.sass index 4b8c63b5..0061906b 100644 --- a/assets/sass/_theme/design-system/nav.sass +++ b/assets/sass/_theme/design-system/nav.sass @@ -55,7 +55,6 @@ padding: $spacing1 position: absolute max-height: calc(100vh - var(--header-height)) - max-height: calc(-webkit-fill-available - var(--header-height)) overflow: auto a color: $header-dropdown-color -- GitLab