From 1366dd1fcd84a70694441db0c33d66dbbd9f1873 Mon Sep 17 00:00:00 2001 From: Ashesh Vashi Date: Thu, 2 Jul 2020 11:20:14 +0530 Subject: [PATCH] Show horizontal scrollbar when needed in the menubar in the lower resolution, when navbar button is visible. Added appropriate CSS in the .navbar-collapse class to show scrollbar in screen resolution (992px widith) --- web/pgadmin/static/scss/_bootstrap.overrides.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/pgadmin/static/scss/_bootstrap.overrides.scss b/web/pgadmin/static/scss/_bootstrap.overrides.scss index ef1eb0279..025fe5fe3 100644 --- a/web/pgadmin/static/scss/_bootstrap.overrides.scss +++ b/web/pgadmin/static/scss/_bootstrap.overrides.scss @@ -346,3 +346,10 @@ td.switch-cell > div.toggle { border-color: $custom-control-indicator-focus-border-color; } } + +@media (max-width: 992px) { + .navbar-collapse { + max-height: 99vh; + overflow-y: auto; + } +}