From f26797dfab1817eb3ea6616b7b95d970d8561ea8 Mon Sep 17 00:00:00 2001 From: Diogo Bastos <50139916+DiogoABastos@users.noreply.github.com> Date: Mon, 1 Jul 2024 13:17:18 +0100 Subject: [PATCH] AAE-22858 Fix date button style (#9892) --- .../card-view-dateitem.component.scss | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/lib/core/src/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.scss b/lib/core/src/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.scss index 94b09fc6ce4..dd6aa7bc54f 100644 --- a/lib/core/src/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.scss +++ b/lib/core/src/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.scss @@ -12,6 +12,7 @@ &.adf-property-value-editable { display: flex; align-items: center; + justify-content: flex-end; border-radius: 6px; border-bottom: inherit; margin-bottom: 18px; @@ -41,24 +42,16 @@ .adf-dateitem-editable { cursor: pointer; - padding: 0 12px; + width: 100%; + padding: 0 5px; /* stylelint-disable-next-line no-descending-specificity */ &-controls { display: flex; align-items: center; justify-content: space-between; - padding-bottom: 6px; - - button#{$mat-icon-button} { - line-height: 20px; - height: 20px; - width: 20px; - } #{$mat-icon} { - width: 16px; - height: 16px; opacity: 0.5; &:hover { @@ -66,15 +59,17 @@ } } + mat-datetimepicker-toggle { + transform: scale(0.8); + } + .adf-datepicker-toggle { flex: 1 0 auto; + font-size: 14px; } .adf-date-reset-icon { - line-height: 10px; position: relative; - top: 4px; - padding: 0 8px; } } }