From: Mark Otto Date: Thu, 2 Feb 2012 06:27:11 +0000 (-0800) Subject: #1571: remove fixed width on file inputs X-Git-Tag: v2.0.1~1^2~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4211f21e39631179753d6775e3ad90be05ab5f8f;p=thirdparty%2Fbootstrap.git #1571: remove fixed width on file inputs --- diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index a1ef66887a..c4ddd0f26e 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 a90e31930b..9de317af5a 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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; diff --git a/less/forms.less b/less/forms.less index 9c9a9b8a9f..ccf3c67fae 100644 --- a/less/forms.less +++ b/less/forms.less @@ -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;