Skip to content

Commit

Permalink
FIX: Select-kit category dropdown issues in IE11
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomerobot committed Jan 26, 2018
1 parent 36d836b commit f587fb7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion app/assets/stylesheets/common/select-kit/category-drop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
padding: 0;
min-width: 100px;
max-height: 300px;
max-width: 30em;

.collection-header {
.category-filter {
Expand Down Expand Up @@ -129,7 +130,7 @@
.badge-wrapper {
margin: 0;
display: flex;
flex: 1;
flex: 1 1 auto;
}
}

Expand Down
1 change: 1 addition & 0 deletions app/assets/stylesheets/common/select-kit/category-row.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
display: flex;
flex-wrap: wrap;
align-items: center;
max-width: 100%;
-webkit-box-flex: 0;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
Expand Down
6 changes: 3 additions & 3 deletions app/assets/stylesheets/common/select-kit/select-kit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@

.selected-name {
text-align: left;
-webkit-box-flex: 1 100%;
-ms-flex: 1 100%;
flex: 1 100%;
-webkit-box-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
white-space: nowrap;
Expand Down

0 comments on commit f587fb7

Please sign in to comment.