From 2a2e8856ee1f3b9e737bd31a63cab501ff61ce85 Mon Sep 17 00:00:00 2001 From: FezVrasta Date: Tue, 2 Aug 2016 20:44:55 +0200 Subject: [PATCH] fixed nav item ripples --- scss/_nav.scss | 7 ++++++- scss/_navbar.scss | 10 ++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/scss/_nav.scss b/scss/_nav.scss index 184ce136..5df047e6 100644 --- a/scss/_nav.scss +++ b/scss/_nav.scss @@ -46,4 +46,9 @@ } } - +// used to correctly size ripple container +.nav { + .nav-item { + position: relative; + } +} diff --git a/scss/_navbar.scss b/scss/_navbar.scss index 9e06450f..c962ca56 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -19,14 +19,8 @@ @include clearfix; } // #853 end - https://github.com/twbs/bootstrap/pull/18976/files -} -.navbar-nav { - .nav-item { - position: relative; // used to correctly size ripple container + > .container { + flex: 1; } } - -.navbar > .container { - flex: 1; -}