Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scss/_nav.scss')
-rw-r--r--scss/_nav.scss14
1 files changed, 6 insertions, 8 deletions
diff --git a/scss/_nav.scss b/scss/_nav.scss
index 0f635e794e..10d5f5c622 100644
--- a/scss/_nav.scss
+++ b/scss/_nav.scss
@@ -157,7 +157,7 @@
}
-// Justified navigation (flexbox only)
+// Justified navigation
//
// Justified nav components are only built for flexbox mode in Bootstrap 4. In
// previous versions, this component variation was limited to anchor-based nav
@@ -167,13 +167,11 @@
// Using flexbox, we avoid that problem altogether at the cost of no default
// justified navigation for default Bootstrap. Sorry, y'all <3.
-@if $enable-flex {
- .nav-justified {
- display: flex;
+.nav-justified {
+ display: flex;
- .nav-item {
- flex: 1;
- text-align: center;
- }
+ .nav-item {
+ flex: 1;
+ text-align: center;
}
}