From 4686c02cc2f360b98b9cc5cda3eb13c8fb50d847 Mon Sep 17 00:00:00 2001 From: Eddie Ramirez Date: Fri, 3 Feb 2017 00:34:03 +0000 Subject: [PATCH] Fix wrong min/max media queries for sidebar The media query for the sidebar menu was incorrect. This patch updates the correct min value when the sidebar should be displayed Change-Id: If6c424843d559aba87caf19333e1b725bf24e4cc Closes-bug: #1661422 (cherry picked from commit eada52a457980f2fbdfbf517ac1ee273921495f7) --- .../static/dashboard/scss/components/_sidebar.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openstack_dashboard/static/dashboard/scss/components/_sidebar.scss b/openstack_dashboard/static/dashboard/scss/components/_sidebar.scss index ddca001537..c6762ba42d 100644 --- a/openstack_dashboard/static/dashboard/scss/components/_sidebar.scss +++ b/openstack_dashboard/static/dashboard/scss/components/_sidebar.scss @@ -22,12 +22,12 @@ z-index: 2; transition: all 0.3s ease 0s; - @media (max-width: $screen-sm-min) { + @media (max-width: $screen-xs-max) { &.on-screen { visibility: visible; opacity: 1; } - } + } } #sidebar { @@ -39,7 +39,7 @@ display: block; } - @media (max-width: $screen-sm-min) { + @media (max-width: $screen-xs-max) { transition: all 0.3s ease 0s; position: fixed; top: $navbar-height;