aboutsummaryrefslogtreecommitdiff
path: root/less/_forms.less
diff options
context:
space:
mode:
Diffstat (limited to 'less/_forms.less')
-rw-r--r--less/_forms.less8
1 files changed, 4 insertions, 4 deletions
diff --git a/less/_forms.less b/less/_forms.less
index 8a9ba01e1..302216556 100644
--- a/less/_forms.less
+++ b/less/_forms.less
@@ -424,7 +424,7 @@ input[type="checkbox"] {
.form-inline {
// Kick in the inline
- @media (min-width: @screen-sm-min) {
+ .media-sm({
// Inline-block all the things for "inline"
.form-group {
display: inline-block;
@@ -489,7 +489,7 @@ input[type="checkbox"] {
.has-feedback .form-control-feedback {
top: 0;
}
- }
+ });
}
@@ -525,13 +525,13 @@ input[type="checkbox"] {
// Reset spacing and right align labels, but scope to media queries so that
// labels on narrow viewports stack the same as a default form example.
- @media (min-width: @screen-sm-min) {
+ .media-sm({
.control-label {
text-align: right;
margin-bottom: 0;
padding-top: (@padding-base-vertical + 1); // Default padding plus a border
}
- }
+ });
// Validation states
//