From e2b777d9a3ea12ec10f6046975ec0f43c6636601 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 7 Jul 2012 12:34:47 -0700 Subject: [PATCH] docs pre font-size and nowrap on prepend/append --- docs/assets/css/bootstrap.css | 3 ++- docs/assets/css/docs.css | 1 + less/forms.less | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index f195084416..babfe6351b 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -1384,6 +1384,7 @@ textarea::-webkit-input-placeholder { .input-append { margin-bottom: 5px; font-size: 0; + white-space: nowrap; } .input-prepend input, @@ -5043,7 +5044,7 @@ a.badge:hover { .progress .bar { width: 0; - height: 18px; + height: 100%; font-size: 12px; color: #ffffff; text-align: center; diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 6ad151181a..2fd1715afb 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -479,6 +479,7 @@ h2 + .row { .bs-docs-example + .prettyprint { margin-top: -20px; padding-top: 15px; + font-size: 12px; } /* Tweak examples diff --git a/less/forms.less b/less/forms.less index 1b57b66be4..b53159a1e7 100644 --- a/less/forms.less +++ b/less/forms.less @@ -381,6 +381,7 @@ textarea { .input-append { margin-bottom: 5px; font-size: 0; + white-space: nowrap; // Prevent span and input from separating input, select, .uneditable-input {