Skip to content

Commit

Permalink
Fix #6: Incorrect alignment of inputs, buttons, and error block for I…
Browse files Browse the repository at this point in the history
…NLINE FORM orientation
  • Loading branch information
kartik-v committed Nov 17, 2014
1 parent 4e4d17e commit ea34ba6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
16 changes: 13 additions & 3 deletions assets/css/activeform.css
@@ -1,5 +1,5 @@
/*!
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2013
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014
* @package yii2-widgets
* @subpackage yii2-widget-activeform
* @version 1.1.0
Expand All @@ -14,8 +14,18 @@
margin-top: -10px;
}

.form-inline > .form-group {
vertical-align: top;
@media (min-width: 768px) {
.form-inline .form-group, .form-inline .form-control {
vertical-align: top;
}

.form-inline .btn-default {
margin:0;
}

.form-inline .checkbox, .form-inline .radio {
padding-top: 6px;
}
}

.input-multiselect {
Expand Down
4 changes: 2 additions & 2 deletions assets/css/activeform.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ea34ba6

Please sign in to comment.