Skip to content

Commit 467093a

Browse files
authored
Merge pull request #243 from sg00dwin/ui-select-append-to-body
Position so ui-select overlays when appended to body.
2 parents 80a037b + 000adc5 commit 467093a

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

dist/less/_ui-select.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
/* Fix some styles with the angular-ui-select bootstrap theme that isn't right when combined with all of our styles */
2+
3+
// ensure ui-select dropdown overlays when appended to body
4+
body > .ui-select-bootstrap.open {
5+
z-index: @zindex-modal;
6+
}
27
.ui-select-bootstrap {
38
.ui-select-choices-row {
49
> span {

dist/origin-web-common.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,9 @@ div.hopscotch-bubble .hopscotch-nav-button.prev {
470470
text-decoration: none;
471471
}
472472
/* Fix some styles with the angular-ui-select bootstrap theme that isn't right when combined with all of our styles */
473+
body > .ui-select-bootstrap.open {
474+
z-index: 1050;
475+
}
473476
.ui-select-bootstrap {
474477
/* Fixes ui-select's input box extending to 100% page width if the page has been resized after page-load
475478
* https://github.com/angular-ui/ui-select/issues/1678

src/styles/_ui-select.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
/* Fix some styles with the angular-ui-select bootstrap theme that isn't right when combined with all of our styles */
2+
3+
// ensure ui-select dropdown overlays when appended to body
4+
body > .ui-select-bootstrap.open {
5+
z-index: @zindex-modal;
6+
}
27
.ui-select-bootstrap {
38
.ui-select-choices-row {
49
> span {

0 commit comments

Comments
 (0)