1
0
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:
Martijn Cuppens
2020-02-13 13:45:33 +01:00
committed by GitHub
parent e7bedac3db
commit 6f4784c8bb
2 changed files with 7 additions and 8 deletions

View File

@@ -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;
}
}
}