aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-10-08 00:26:57 -0700
committerMark Otto <[email protected]>2011-10-08 00:26:57 -0700
commit464c2d529579cd3f29ae155bb18398ba136a30c7 (patch)
tree47c9f2934fd8a34638e50b20bc7681c02c06ae10 /lib
parent0692530efc51efe73a0e40ced2040df9a68fb6f9 (diff)
downloadbootstrap-464c2d529579cd3f29ae155bb18398ba136a30c7.tar.xz
bootstrap-464c2d529579cd3f29ae155bb18398ba136a30c7.zip
remove select from the new form grid sizes and let them inherit the default grid ones
Diffstat (limited to 'lib')
-rw-r--r--lib/forms.less10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/forms.less b/lib/forms.less
index dffdb37d4..ec459c908 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -77,7 +77,12 @@ select,
.border-radius(3px);
}
-/* mini reset for non-html5 file types */
+// remove padding from select
+select {
+ padding: initial;
+}
+
+// mini reset for non-html5 file types
input[type=checkbox],
input[type=radio] {
width: auto;
@@ -239,8 +244,7 @@ textarea.xxlarge {
width: ((@gridColumnWidth - 10) * @columnSpan) + ((@gridColumnWidth - 10) * (@columnSpan - 1));
}
input,
-textarea,
-select {
+textarea {
// Default columns
&.span1 { .formColumns(1); }
&.span2 { .formColumns(2); }