aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-01 22:27:11 -0800
committerMark Otto <[email protected]>2012-02-01 22:27:11 -0800
commit4211f21e39631179753d6775e3ad90be05ab5f8f (patch)
tree26de89ccfc0829087513b912e76276fa076c6a64
parentc1f0da7cce2b7c3258d17f5e81faac25e231bbf8 (diff)
downloadbootstrap-4211f21e39631179753d6775e3ad90be05ab5f8f.tar.xz
bootstrap-4211f21e39631179753d6775e3ad90be05ab5f8f.zip
#1571: remove fixed width on file inputs
-rw-r--r--docs/assets/bootstrap.zipbin56824 -> 56825 bytes
-rw-r--r--docs/assets/css/bootstrap.css1
-rw-r--r--less/forms.less1
3 files changed, 2 insertions, 0 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index a1ef66887..c4ddd0f26 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index a90e31930..9de317af5 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 9c9a9b8a9..ccf3c67fa 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;