2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

change up fonts on form elements to remove unnecessary font-family on label element, per #1950

This commit is contained in:
Mark Otto
2012-02-13 08:18:19 -08:00
parent da94850844
commit 64ea59234f
3 changed files with 13 additions and 2 deletions
+7 -1
View File
@@ -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