diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 09d85da0e9..d19d6a4426 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -4178,7 +4178,9 @@ input[type="submit"].btn.btn-mini { margin-top: 5px; } -.navbar .btn-group .btn { +.navbar .btn-group .btn, +.navbar .input-prepend .btn, +.navbar .input-append .btn { margin-top: 0; } diff --git a/less/navbar.less b/less/navbar.less index a1fe00f513..64e2eb7ea3 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -92,7 +92,9 @@ .navbar .btn-group { .navbarVerticalAlign(30px); // Vertically center in navbar } -.navbar .btn-group .btn { +.navbar .btn-group .btn, +.navbar .input-prepend .btn, +.navbar .input-append .btn { margin-top: 0; // then undo the margin here so we don't accidentally double it }