From 3326e1b21e2368878a1c7f7bbd8d31d58fff5276 Mon Sep 17 00:00:00 2001 From: Robert Burns Date: Sun, 28 Apr 2013 10:08:48 -0400 Subject: [PATCH] Fix navbar on phone/tablet devices after navbar overhaul --- docs/assets/css/bootstrap.css | 6 +----- less/navbar.less | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index b4a3b5854f..888730f7ab 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -3490,7 +3490,7 @@ button.close { .navbar { position: relative; - padding: 10px 15px; + padding: 0 15px; background-color: #eeeeee; border-radius: 4px; } @@ -3741,10 +3741,6 @@ button.close { } @media screen and (min-width: 768px) { - .navbar { - padding-top: 0; - padding-bottom: 0; - } .navbar-brand { float: left; margin-right: 5px; diff --git a/less/navbar.less b/less/navbar.less index 587b69ca4e..abbc6bb8cb 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -5,7 +5,7 @@ // Wrapper and base class .navbar { position: relative; - padding: 10px 15px; + padding: 0px 15px; background-color: @navbar-bg; border-radius: @border-radius-base; // Prevent floats from breaking the navbar @@ -264,10 +264,6 @@ @media screen and (min-width: @screen-tablet) { - .navbar { - padding-top: 0; - padding-bottom: 0; - } .navbar-brand { float: left; margin-left: -5px;