mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
bring over styles from .nav for .navbar-nav
since we're no longer using the .nav as a base class, we need to bring over some base styles for redoing browser list styles and setting flex in motion. also brings with it some .nav-link styling. we're still using this global class, but with this small modification for alignment of content in responsive modes.
This commit is contained in:
+7
-3
@@ -128,11 +128,15 @@
|
|||||||
// Custom navbar navigation built on the base `.nav` styles.
|
// Custom navbar navigation built on the base `.nav` styles.
|
||||||
|
|
||||||
.navbar-nav {
|
.navbar-nav {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column; // cannot use `inherit` to get the `.navbar`s value
|
||||||
|
padding-left: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
list-style: none;
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
display: block;
|
padding-left: 0;
|
||||||
padding-top: .425rem;
|
padding-right: 0;
|
||||||
padding-bottom: .425rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user