mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 09:05:47 +02:00
Docs navbar tweaks (#29948)
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
.bd-navbar {
|
||||
min-height: 4rem;
|
||||
padding: .625rem 0;
|
||||
background-color: $bd-purple-bright;
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
.navbar-nav-scroll {
|
||||
width: 100%;
|
||||
height: 2.5rem;
|
||||
margin-top: .25rem;
|
||||
overflow: hidden;
|
||||
|
||||
.navbar-nav {
|
||||
padding-bottom: 2rem;
|
||||
padding: .5rem 0;
|
||||
margin: -.5rem 0;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
@@ -22,7 +21,6 @@
|
||||
.nav-link {
|
||||
color: rgba($white, .85);
|
||||
|
||||
&.active,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $white;
|
||||
@@ -30,6 +28,7 @@
|
||||
|
||||
&.active {
|
||||
font-weight: 600;
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user