1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +02:00

Make subnav and sidebar work on mobile too

This commit is contained in:
Mark Otto
2019-07-19 00:33:34 +03:00
committed by Mark Otto
parent 956cbbc6b7
commit 5a0be01e3e
5 changed files with 20 additions and 12 deletions

View File

@@ -46,9 +46,6 @@
background-color: $bd-purple-bright;
@include media-breakpoint-down(md) {
padding-right: .5rem;
padding-left: .5rem;
.navbar-nav-scroll {
width: 100%;
height: 2.5rem;

View File

@@ -22,6 +22,10 @@
.bd-search {
position: relative; // To contain the Algolia search
@include media-breakpoint-down(md) {
width: 100%;
}
.form-control:focus {
border-color: $bd-purple-bright;
box-shadow: 0 0 0 3px rgba($bd-purple-bright, .25);