From bc4e8267aa00e7f162cd01579d8d3adbf3cd7a83 Mon Sep 17 00:00:00 2001 From: William Martin Date: Mon, 16 Aug 2021 15:58:21 -0400 Subject: [PATCH] fix(datetime): reduce time presentation min height (#23771) resolves #23690 --- core/src/components/datetime/datetime.ios.scss | 2 ++ core/src/components/datetime/datetime.scss | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/src/components/datetime/datetime.ios.scss b/core/src/components/datetime/datetime.ios.scss index c26793027c..a2240eea51 100644 --- a/core/src/components/datetime/datetime.ios.scss +++ b/core/src/components/datetime/datetime.ios.scss @@ -6,7 +6,9 @@ --background: var(--ion-color-light, #ffffff); --background-rgb: var(--ion-color-light-rgb); --title-color: #{$text-color-step-400}; +} +:host(:not(.datetime-presentation-time)) { min-height: 300px; } diff --git a/core/src/components/datetime/datetime.scss b/core/src/components/datetime/datetime.scss index 7f6e8a85d1..8096678066 100644 --- a/core/src/components/datetime/datetime.scss +++ b/core/src/components/datetime/datetime.scss @@ -14,13 +14,15 @@ flex-flow: column; - height: 100%; - background: var(--background); overflow: hidden; } +:host(:not(.datetime-presentation-time)) { + height: 100%; +} + :host(.datetime-size-fixed) { width: 350px; }