Skip to content

Commit

Permalink
Positioning fix for the arrow when the menu is open
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson committed Jan 31, 2017
1 parent fbeb376 commit cab0b72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions less/control.less
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@

// flip the arrow so its pointing up when the menu is open
.Select-arrow {
top: -2px;
border-color: transparent transparent @select-arrow-color;
border-width: 0 @select-arrow-width @select-arrow-width;
}
Expand Down Expand Up @@ -239,6 +240,7 @@
display: inline-block;
height: 0;
width: 0;
position: relative;
}
.is-open .Select-arrow,
.Select-arrow-zone:hover > .Select-arrow {
Expand Down
2 changes: 2 additions & 0 deletions scss/control.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@

// flip the arrow so its pointing up when the menu is open
.Select-arrow {
top: -2px;
border-color: transparent transparent $select-arrow-color;
border-width: 0 $select-arrow-width $select-arrow-width;
}
Expand Down Expand Up @@ -238,6 +239,7 @@
display: inline-block;
height: 0;
width: 0;
position: relative;
}
.is-open .Select-arrow,
.Select-arrow-zone:hover > .Select-arrow {
Expand Down

0 comments on commit cab0b72

Please sign in to comment.