Skip to content

Commit 495364f

Browse files
committed
fix(datetimepicker): fix calendar-text-size
1 parent babf403 commit 495364f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

projects/extensions/core/tokens/m3/mtx/_datetimepicker.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ $prefix: (mtx, datetimepicker);
7676
container-touch-shape: map.get($systems, md-sys-shape, corner-extra-large),
7777
selector-container-shape: map.get($systems, md-sys-shape, corner-small),
7878

79-
calendar-text-font: map.get($systems, md-sys-typescale, body-large-font),
80-
calendar-text-size: map.get($systems, md-sys-typescale, body-large-size),
79+
calendar-text-font: map.get($systems, md-sys-typescale, body-medium-font),
80+
calendar-text-size: map.get($systems, md-sys-typescale, body-medium-size),
8181
calendar-body-label-text-size: map.get($systems, md-sys-typescale, title-small-size),
8282
calendar-body-label-text-weight: map.get($systems, md-sys-typescale, title-small-weight),
8383
calendar-period-button-text-size: map.get($systems, md-sys-typescale, title-small-size),

projects/extensions/datetimepicker/datetimepicker-content.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ $calendar-padding: 8px;
66
$non-touch-calendar-cell-size: 40px;
77
$non-touch-calendar-portrait-width: $non-touch-calendar-cell-size * 7 + $calendar-padding * 2;
88
$non-touch-calendar-portrait-height: 424px;
9-
$non-touch-calendar-landscape-width: 432px;
9+
$non-touch-calendar-landscape-width: 440px;
1010
$non-touch-calendar-landscape-height: 328px;
1111
$non-touch-calendar-with-time-input-portrait-height: 442px;
12-
$non-touch-calendar-with-time-input-actions-portrait-height: 490px;
12+
$non-touch-calendar-with-time-input-actions-portrait-height: 494px;
1313
$non-touch-calendar-with-time-input-landscape-height: 356px;
14-
$non-touch-calendar-with-time-input-actions-landscape-height: 404px;
14+
$non-touch-calendar-with-time-input-actions-landscape-height: 416px;
1515

1616
// Ideally the calendar would have a constant aspect ratio, no matter its size, and we would base
1717
// these measurements off the aspect ratio. Unfortunately, the aspect ratio does change a little as

0 commit comments

Comments
 (0)