File tree 1 file changed +9
-3
lines changed
projects/igniteui-angular/src/lib/calendar/month-picker
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
< div *ngIf ="isDefaultView " [@animateView] ="activeView " class ="igx-calendar__body " (swiperight) ="previousYear() " (swipeleft) ="nextYear() ">
2
2
< div class ="igx-calendar-picker ">
3
- < div tabindex ="0 " class ="igx-calendar-picker__prev " (click) ="previousYear() " (keydown) ="previousYearKB($event) ">
3
+ < div tabindex ="0 " class ="igx-calendar-picker__prev " (click) ="previousYear() " (keydown) ="previousYearKB($event) " [ngStyle] ="{
4
+ 'min-width.%': 25,
5
+ 'left': 0
6
+ } ">
4
7
< igx-icon fontSet ="material "> keyboard_arrow_left</ igx-icon >
5
8
</ div >
6
- < div >
9
+ < div [style.width.%] =" 100 " >
7
10
< span tabindex ="0 " #yearsBtn (keydown) ="activeViewDecadeKB($event) " (click) ="activeViewDecade() " class ="igx-calendar-picker__date ">
8
11
{{ formattedYear(viewDate) }}
9
12
</ span >
10
13
</ div >
11
- < div tabindex ="0 " class ="igx-calendar-picker__next " (click) ="nextYear() " (keydown) ="nextYearKB($event) ">
14
+ < div tabindex ="0 " class ="igx-calendar-picker__next " (click) ="nextYear() " (keydown) ="nextYearKB($event) " [ngStyle] ="{
15
+ 'min-width.%': 25,
16
+ 'right': 0
17
+ } ">
12
18
< igx-icon fontSet ="material "> keyboard_arrow_right</ igx-icon >
13
19
</ div >
14
20
</ div >
You can’t perform that action at this time.
0 commit comments