Skip to content

Commit e65f294

Browse files
authored
fix: subitems menu height restricted only for horizontal mode (#1492)
1 parent dd8895d commit e65f294

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/uikit-workshop/src/scripts/components/pl-nav/nav-accordion.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@
1818

1919
.pl-c-body--theme-horizontal & {
2020
overflow: auto;
21-
}
2221

23-
@media all and (min-width: $pl-bp-med) {
24-
height: auto;
25-
max-height: calc(100vh - #{$offset-top} - 2rem); /* 1 */
22+
@media all and (min-width: $pl-bp-med) {
23+
max-height: calc(100vh - #{$offset-top} - 2rem); /* 1 */
24+
}
2625
}
2726
}

0 commit comments

Comments
 (0)