Skip to content

Commit

Permalink
Refactor date calendar styling for smaller mobile screens - prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamik10 committed Oct 7, 2024
1 parent 83b0640 commit 2dbe0d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/stories/Library/date-calendar/date-calendar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ $selected-date-background: rgb(0, 105, 255);
// People had troubles scrolling when the calendar is open (possible, but users
// can't figure it out.
&.open.rangeMode {
@include media-query(calc(map_get($breakpoints, "x-small") + 1px), "max-width") {
@include media-query(
calc(map_get($breakpoints, "x-small") + 1px),
"max-width"
) {
left: -$s-xl;
top: -$s-4xl;
}
Expand Down

0 comments on commit 2dbe0d1

Please sign in to comment.