From a4da509f509c3e876c7e870dce62b9feedbf312f Mon Sep 17 00:00:00 2001 From: Maximilian <787658+mfranzke@users.noreply.github.com> Date: Sun, 12 Mar 2023 11:23:26 +0100 Subject: [PATCH] fix: subitems menu height restricted only for horizontal mode --- .../src/scripts/components/pl-nav/nav-accordion.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/uikit-workshop/src/scripts/components/pl-nav/nav-accordion.scss b/packages/uikit-workshop/src/scripts/components/pl-nav/nav-accordion.scss index 656aa1fad..e70a4d989 100644 --- a/packages/uikit-workshop/src/scripts/components/pl-nav/nav-accordion.scss +++ b/packages/uikit-workshop/src/scripts/components/pl-nav/nav-accordion.scss @@ -18,10 +18,9 @@ .pl-c-body--theme-horizontal & { overflow: auto; - } - @media all and (min-width: $pl-bp-med) { - height: auto; - max-height: calc(100vh - #{$offset-top} - 2rem); /* 1 */ + @media all and (min-width: $pl-bp-med) { + max-height: calc(100vh - #{$offset-top} - 2rem); /* 1 */ + } } }