Skip to content

Commit 13c8f97

Browse files
authored
Merge pull request #8053 from IgniteUI/mpopov/fix-date-picker-IE11-MASTER
fix(date-picker): IE11 problem with date size.
2 parents 630d24b + bfa7767 commit 13c8f97

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

projects/igniteui-angular/src/lib/core/styles/components/calendar/_calendar-theme.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -628,8 +628,7 @@
628628
display: flex;
629629
justify-content: center;
630630
align-items: center;
631-
flex-grow: 1;
632-
flex-basis: 14.28%;
631+
min-width: 14.28%;
633632
color: --var($theme, 'content-text-color');
634633
cursor: pointer;
635634
outline: none;
@@ -660,8 +659,8 @@
660659
justify-content: center;
661660
align-items: center;
662661
width: $cal-value-w;
662+
min-width: $cal-value-w;
663663
height: $cal-value-h;
664-
min-width: 2ch;
665664
border-radius: --var($theme, 'date-border-radius');
666665
z-index: 0;
667666
// transition: background .15s ease-out;
@@ -686,7 +685,7 @@
686685
}
687686

688687
border-radius: 0;
689-
flex-basis: 14.28%;
688+
min-width: 14.28%;
690689
// 100 divided by the number of weekdays
691690

692691
@if $bootstrap-theme {

projects/igniteui-angular/src/lib/core/styles/components/date-picker/_date-picker-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
%cal-value {
5454
color: --var($theme, 'content-text-color');
55-
flex-basis: 14.28%;
55+
min-width: 14.28%;
5656

5757
@if $bootstrap-theme {
5858
&:hover,

0 commit comments

Comments
 (0)