]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
#1571: remove fixed width on file inputs
authorMark Otto <markdotto@gmail.com>
Thu, 2 Feb 2012 06:27:11 +0000 (22:27 -0800)
committerMark Otto <markdotto@gmail.com>
Thu, 2 Feb 2012 06:27:11 +0000 (22:27 -0800)
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
less/forms.less

index a1ef66887a2519eefd21b7c204095108882073fa..c4ddd0f26e68b072d46816b8b7477f9daffd7523 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index a90e31930bc0e699aa892c684fb418c3868c37f7..9de317af5a664a22fc3c5b25d2ed226b5fca0916 100644 (file)
@@ -570,6 +570,7 @@ input[type="image"], input[type="checkbox"], input[type="radio"] {
   border-radius: 0;
 }
 input[type="file"] {
+  width: auto;
   padding: initial;
   line-height: initial;
   border: initial;
index 9c9a9b8a9f54e8b4ac75a26281b88e22e70df7c2..ccf3c67fae84fe218e66a805519bc3f7c3979e28 100644 (file)
@@ -91,6 +91,7 @@ input[type="radio"] {
 
 // Reset the file input to browser defaults
 input[type="file"] {
+  width: auto;
   padding: initial;
   line-height: initial;
   border: initial;