Skip to content

Commit

Permalink
Merge pull request #13 from vieraleonel/bootstrap-form-inline-support
Browse files Browse the repository at this point in the history
Support for Bootstrap's .form-inline.
  • Loading branch information
fk committed Jun 8, 2015
2 parents 2b20696 + 2d9a1f7 commit c8d5d19
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 1 deletion.
7 changes: 7 additions & 0 deletions dist/select2-bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -562,3 +562,10 @@
.form-control.select2-hidden-accessible {
position: absolute !important;
}

/**
* Display override for inline forms
*/
.form-inline .select2-container--bootstrap {
display: inline-block;
}
2 changes: 1 addition & 1 deletion dist/select2-bootstrap.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions docs/css/select2-bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -562,3 +562,10 @@
.form-control.select2-hidden-accessible {
position: absolute !important;
}

/**
* Display override for inline forms
*/
.form-inline .select2-container--bootstrap {
display: inline-block;
}
8 changes: 8 additions & 0 deletions src/select2-bootstrap.less
Original file line number Diff line number Diff line change
Expand Up @@ -726,3 +726,11 @@
.form-control.select2-hidden-accessible {
position: absolute !important;
}

/**
* Display override for inline forms
*/

.form-inline .select2-container--bootstrap {
display: inline-block;
}
8 changes: 8 additions & 0 deletions src/select2-bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -726,3 +726,11 @@ $clear-selection-color: $dropdown-arrow-color !default;
.form-control.select2-hidden-accessible {
position: absolute !important;
}

/**
* Display override for inline forms
*/

.form-inline .select2-container--bootstrap {
display: inline-block;
}

0 comments on commit c8d5d19

Please sign in to comment.