Skip to content

Commit

Permalink
fix(styles): an attempt to fix the padding issue in FNGX [ci visual] (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
InnaAtanasova authored Aug 24, 2024
1 parent 95336ea commit b756904
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/styles/src/calendar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -466,6 +467,8 @@ $fd-calendar-special-days: (
}

&--mobile-portrait {
--fdCalendar_Padding: 1rem 0 0 0;
--fdCalendar_Padding: 0;

padding-block-start: 1rem;
}
}

0 comments on commit b756904

Please sign in to comment.