diff options
| author | Mark Otto <[email protected]> | 2012-02-13 08:18:19 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-02-13 08:18:19 -0800 |
| commit | 64ea59234f30f51ab5497830d1825c7e043a575e (patch) | |
| tree | f5abc16038d0c6481348d811400645196fc139fd /less/forms.less | |
| parent | da948508447de169ab05c10a5f0a64bcb6a8aeb6 (diff) | |
| download | bootstrap-64ea59234f30f51ab5497830d1825c7e043a575e.tar.xz bootstrap-64ea59234f30f51ab5497830d1825c7e043a575e.zip | |
change up fonts on form elements to remove unnecessary font-family on label element, per #1950
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/less/forms.less b/less/forms.less index 81e5bb42c..be9dbfaa9 100644 --- a/less/forms.less +++ b/less/forms.less @@ -42,7 +42,13 @@ input, button, select, textarea { - #font > .sans-serif(@baseFontSize,normal,@baseLineHeight); + #font > .shorthand(@baseFontSize,normal,@baseLineHeight); // Set size, weight, line-height here +} +input, +button, +select, +textarea { + #font > #family > .sans-serif(); // And only set font-family here for those that need it (note the missing label element) } // Identify controls by their labels |
