From 54b9eb31ad5fd85175f9c40549e3fdde5bb982d8 Mon Sep 17 00:00:00 2001 From: William Do Date: Thu, 24 Sep 2015 17:25:33 -0700 Subject: [PATCH] Moved overlay component in LESS to match previous placement. --- src/components/NavBar/NavBar.less | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/components/NavBar/NavBar.less b/src/components/NavBar/NavBar.less index 6e0a3384d..1c3716a2d 100644 --- a/src/components/NavBar/NavBar.less +++ b/src/components/NavBar/NavBar.less @@ -175,15 +175,6 @@ outline: 1px solid transparent; z-index: @ms-zIndex-middle; } - - // When the navbar is opened, animate to full opacity - // and activate pointer events so can be clicked. - .ms-Overlay { - display: block; - cursor: pointer; - opacity: 1; - pointer-events: auto; - } } } @@ -213,7 +204,14 @@ } } - + // When the navbar is opened, animate to full opacity + // and activate pointer events so can be clicked. + .ms-NavBar.is-open .ms-Overlay { + display: block; + cursor: pointer; + opacity: 1; + pointer-events: auto; + } } // On medium screens and larger we display the menu items in the nav bar.