Skip to content

Commit bb01251

Browse files
committed
fix(calendar) fix header size
Also fix bootstrap first row border position when the calendar is in multiple calendar view
1 parent 0808554 commit bb01251

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

src/components/calendar/themes/shared/bootstrap/calendar.bootstrap.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ $theme: $bootstrap;
5454
:host(igc-calendar[header-orientation='vertical']) {
5555
[part~='header'] {
5656
width: rem(168px);
57+
min-width: rem(168px);
5758
}
5859
}
5960

src/components/calendar/themes/shared/bootstrap/days-view.bootstrap.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ $border-size: rem(1px);
2727
position: absolute;
2828
width: 100%;
2929
inset-block-start: 100%;
30+
inset-inline-start: 0;
3031
height: rem(1px);
3132
background: var-get($theme, 'border-color');
3233
}

src/components/calendar/themes/shared/fluent/calendar.fluent.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ $theme: $fluent;
3939
:host(igc-calendar[header-orientation='vertical']) {
4040
[part~='header'] {
4141
width: rem(168px);
42+
min-width: rem(168px);
4243
}
4344
}
4445

src/components/calendar/themes/shared/indigo/calendar.indigo.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ $theme: $indigo;
5555
:host(igc-calendar[header-orientation='vertical']) {
5656
[part~='header'] {
5757
width: rem(136px);
58+
min-width: rem(136px);
5859

5960
&::after {
6061
inset-inline-start: calc(100% - #{rem(1px)});

src/components/calendar/themes/shared/material/calendar.material.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ $theme: $material;
4848
:host(igc-calendar[header-orientation='vertical']) {
4949
[part~='header'] {
5050
width: rem(168px);
51+
min-width: rem(168px);
5152
}
5253
}
5354

0 commit comments

Comments
 (0)