From 2c070409f430bcd7aa9fb426e80f39fadea9f1f3 Mon Sep 17 00:00:00 2001 From: Stephen Niedzielski Date: Wed, 31 Jul 2019 11:15:27 -0600 Subject: [PATCH] [UI] [main menu] make menu scrollable Adds a scrollbar as needed to the main menu. Bug: T218206 Change-Id: I71f75128939eba56dea10a8092b67820736934ce --- resources/skins.minerva.mainMenu.styles/mainmenu.less | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/skins.minerva.mainMenu.styles/mainmenu.less b/resources/skins.minerva.mainMenu.styles/mainmenu.less index c30e74af7..948416b0a 100644 --- a/resources/skins.minerva.mainMenu.styles/mainmenu.less +++ b/resources/skins.minerva.mainMenu.styles/mainmenu.less @@ -22,7 +22,9 @@ #mw-mf-page-left { background-color: @primaryNavBackgroundColor; float: left; - min-height: 100%; + height: 100%; + // Add vertical scrollbar as needed. + overflow-y: auto; .secondary-action { border: 0; @@ -121,7 +123,6 @@ // the two following properties are needed to override the height set // by position: fixed fallback on scroll event min-height: 100%; - height: auto !important; } #mw-mf-page-center {