]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Eliminate spurrious padding in .bs-docs-header 16208/head
authorSteven Black <steveb@stevenblack.com>
Wed, 1 Apr 2015 22:00:27 +0000 (18:00 -0400)
committerSteven Black <steveb@stevenblack.com>
Thu, 2 Apr 2015 01:53:10 +0000 (21:53 -0400)
I agree with all the comments here.

Rather than dicker with container nesting at this late juncture, near sunset for BS 3.0x, let's just fix and move on.  It's docs only.

This PR addresses issue #15100 and eliminates the unnecessary horizontal scrollbar that appears for width for width >=768px and <= 782px.

Tested on three different iOS devices and FireFox/Chrome on OSX and it's fine now.

The only difference is the text in .bs-docs-header is shifted left by 15-pixels, lines are 30 px longer so wrap less in some circumstances in some viewports.

docs/assets/css/src/docs.css

index d95ba093c755cad09baee4528cb29050c766a01a..6cf036a74d0125916a5e3ed8fe64f1ddda0b34d6 100644 (file)
@@ -236,7 +236,7 @@ h4 code {
 .bs-docs-masthead,
 .bs-docs-header {
   position: relative;
-  padding: 30px 15px;
+  padding: 30px 0;
   color: #cdbfe3;
   text-align: center;
   text-shadow: 0 1px 0 rgba(0,0,0,.1);