From b7569047e79e7598a5d6e3844c31649a1d465992 Mon Sep 17 00:00:00 2001 From: Inna Atanasova <39598672+InnaAtanasova@users.noreply.github.com> Date: Sat, 24 Aug 2024 14:46:10 -0400 Subject: [PATCH] fix(styles): an attempt to fix the padding issue in FNGX [ci visual] (#5580) --- packages/styles/src/calendar.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/styles/src/calendar.scss b/packages/styles/src/calendar.scss index a8d65ced05..1057b19b0e 100644 --- a/packages/styles/src/calendar.scss +++ b/packages/styles/src/calendar.scss @@ -181,7 +181,8 @@ $fd-calendar-special-days: ( @include fd-reset(); width: var(--fdCalendar_Width); - padding: var(--fdCalendar_Padding); + padding-inline: var(--fdCalendar_Padding); + padding-block: var(--fdCalendar_Padding); background-color: var(--fdCalendar_Background); border-radius: var(--fdCalendar_Border_Radius); @@ -466,6 +467,8 @@ $fd-calendar-special-days: ( } &--mobile-portrait { - --fdCalendar_Padding: 1rem 0 0 0; + --fdCalendar_Padding: 0; + + padding-block-start: 1rem; } }