Browse Source

add navbar-nav-not-expanded class

REJack 3 years ago
parent
commit
1098533bcd
1 changed files with 14 additions and 0 deletions
  1. 14 0
      build/scss/_navs.scss

+ 14 - 0
build/scss/_navs.scss

@@ -98,6 +98,20 @@
   @include navbar-variant($color, $value);
 }
 
+.navbar-nav-not-expanded {
+  flex-direction: row;
+
+  .dropdown-menu {
+    position: absolute;
+  }
+
+  .nav-link {
+    padding-right: $navbar-nav-link-padding-x;
+    padding-left: $navbar-nav-link-padding-x;
+  }
+}
+
+
 @include dark-mode () {
   .nav-pills .nav-link {
     color: $gray-400;