Skip to content

Commit

Permalink
fix(timepicker): Add CSS for IE10 flexbox
Browse files Browse the repository at this point in the history
Fixes #2163 
Closes #2167
  • Loading branch information
bastienmoulia authored and maxokorokov committed Feb 22, 2018
1 parent 59bcc52 commit 7c0d6d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/timepicker/timepicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,20 @@ const NGB_TIMEPICKER_VALUE_ACCESSOR = {
selector: 'ngb-timepicker',
styles: [`
.ngb-tp {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
}
.ngb-tp-hour, .ngb-tp-minute, .ngb-tp-second, .ngb-tp-meridian {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
-ms-flex-align: center;
align-items: center;
-ms-flex-pack: distribute;
justify-content: space-around;
}
Expand Down

0 comments on commit 7c0d6d7

Please sign in to comment.