diff --git a/src/Calendar.scss b/src/Calendar.scss index 304f61c..a9ffe56 100644 --- a/src/Calendar.scss +++ b/src/Calendar.scss @@ -48,22 +48,34 @@ display: none; } -@include media-breakpoint-up(md) { - .Month-decade { - @include make-row($gutter: 0); +.Month-decade { + @include make-row($gutter: 0); - > * { - @include make-col-ready(); - } + > * { + @include make-col-ready(); } } -.Month-decadeSplitter { +.Month-decadeSplitter-small, .Month-decadeSplitter-medium { width: 100%; } +.Month-decadeSplitter-medium { + display: none; +} + +@include media-breakpoint-up(md) { + .Month-decadeSplitter-small { + display: none; + } + + .Month-decadeSplitter-medium { + display: block; + } +} + @include media-breakpoint-up(xl) { - .Month-decadeSplitter { + .Month-decadeSplitter-medium { display: none; } diff --git a/src/Calendar.tsx b/src/Calendar.tsx index d2251d7..91df123 100644 --- a/src/Calendar.tsx +++ b/src/Calendar.tsx @@ -54,7 +54,8 @@ function NormalMonth({year, month, todayJDN}: MonthProps & { todayJDN: number }) Array.from(Array(3).keys()).map(i =>
{ Array.from(Array(10).keys()).map(j => <> - {j === 4 &&
} + {j % 2 === 1 &&
} + {j === 4 &&
} ) }
) }