Skip to content

Commit

Permalink
fix(datepicker): add top offset to fix vertical icon alignment IE11 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kbondanza authored and joshblack committed Oct 9, 2019
1 parent 2430bf9 commit 0c05b81
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
.#{$prefix}--date-picker-input__wrapper {
display: flex;
align-items: center;
position: relative;

~ .#{$prefix}--form-requirement {
max-height: rem(200px);
Expand Down Expand Up @@ -130,6 +131,9 @@
fill: $icon-01;
cursor: pointer;
z-index: 1;
// vertically center icon within parent container on IE11
top: 50%;
transform: translateY(-50%);
}

.#{$prefix}--date-picker__icon ~ .#{$prefix}--date-picker__input {
Expand Down

0 comments on commit 0c05b81

Please sign in to comment.