From 0b4198492002e8aeff6a9106f62c140c82c6c75e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 23 Mar 2012 09:47:57 -0700 Subject: Fix #2758: Uneditable inputs in input-prepend/append 1. Added a missing comma to the input-append's form control stack () to fix border-radius 2. Add to the .uneditable-input in forms to remove the float as we do with all other form controls --- docs/assets/bootstrap.zip | Bin 55760 -> 55763 bytes docs/assets/css/bootstrap.css | 5 +-- docs/css-tests.html | 56 ++++++++++++++++++++++++++++++++ docs/templates/pages/css-tests.mustache | 56 ++++++++++++++++++++++++++++++++ 4 files changed, 115 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 8b7459387..02266b313 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index bdf6a771f..634ea7a53 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -791,7 +791,7 @@ select:focus { input[class*="span"], select[class*="span"], textarea[class*="span"], -.uneditable-input { +.uneditable-input[class*="span"] { float: none; margin-left: 0; } @@ -1045,7 +1045,8 @@ select:focus:required:invalid:focus { margin-right: -1px; } .input-append input, -.input-append select .uneditable-input { +.input-append select, +.input-append .uneditable-input { -webkit-border-radius: 3px 0 0 3px; -moz-border-radius: 3px 0 0 3px; border-radius: 3px 0 0 3px; diff --git a/docs/css-tests.html b/docs/css-tests.html index 081b27a57..99ea08338 100644 --- a/docs/css-tests.html +++ b/docs/css-tests.html @@ -84,6 +84,10 @@ margin-bottom: 36px; } + h4 { + margin-bottom: 5px; + } + /* colgroup tests */ .col1 { background-color: rgba(255,0,0,.1); @@ -96,6 +100,7 @@ } +
@@ -103,6 +108,11 @@

One stop shop for quick debugging and edge-case tests of CSS.

+ + + + @@ -269,6 +279,52 @@ + + + + + +
+
+

Prepend and append on inputs

+
+
+
+ @ +
+
+
+
+ @ +
+
+
+
+ $.00 +
+
+
+
+
+

Prepend and append with uneditable

+
+
+ $Some value here +
+
+ Some value here.00 +
+
+ +
+
+ + + +