Skip to content

Commit 6ab6d12

Browse files
committed
fix(datetime): size is correct on ios
1 parent 9eff002 commit 6ab6d12

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

core/src/components/datetime/datetime.ios.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@
8383
* this padding a snapping point if applied
8484
* on .calendar-month
8585
*/
86-
@include padding($datetime-ios-padding * 0.5, $datetime-ios-padding * 0.5, $datetime-ios-padding * 0.5, $datetime-ios-padding * 0.5);
86+
@include padding($datetime-ios-padding * 0.5, $datetime-ios-padding * 0.5, 0, $datetime-ios-padding * 0.5);
8787

8888
height: calc(100% - #{$datetime-ios-padding});
8989
}
9090

9191
:host .calendar-day {
92-
@include margin(-8.5px, null);
92+
@include margin(-6.5px, null);
9393

9494
width: 40px;
9595
height: 40px;

core/src/components/datetime/datetime.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@ ion-picker-column-internal {
324324
display: grid;
325325
grid-template-columns: repeat(7, 1fr);
326326
justify-items: center;
327+
328+
align-items: center;
327329
}
328330

329331
/**

0 commit comments

Comments
 (0)