Skip to content

Commit

Permalink
fix: v-calendar range picker is overflown in mobile screen (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadeghbarati authored May 14, 2024
1 parent ead6ad8 commit 7f73e4d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const date = ref({
id="date"
:variant="'outline'"
:class="cn(
'w-[300px] justify-start text-left font-normal',
'w-[280px] justify-start text-left font-normal',
!date && 'text-muted-foreground',
)"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const date = ref({
id="date"
:variant="'outline'"
:class="cn(
'w-[300px] justify-start text-left font-normal',
'w-[280px] justify-start text-left font-normal',
!date && 'text-muted-foreground',
)"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const vCalendarSlots = computed(() => {
@apply p-3 text-center;
}
.calendar .vc-pane-layout {
@apply grid gap-4;
@apply grid gap-4 max-sm:!grid-cols-1;
}
.calendar .vc-title {
@apply text-sm font-medium relative z-20;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const date = ref({
id="date"
:variant="'outline'"
:class="cn(
'w-[300px] justify-start text-left font-normal',
'w-[280px] justify-start text-left font-normal',
!date && 'text-muted-foreground',
)"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const date = ref({
id="date"
:variant="'outline'"
:class="cn(
'w-[300px] justify-start text-left font-normal',
'w-[280px] justify-start text-left font-normal',
!date && 'text-muted-foreground',
)"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const vCalendarSlots = computed(() => {
@apply p-3 text-center;
}
.calendar .vc-pane-layout {
@apply grid gap-4;
@apply grid gap-4 max-sm:!grid-cols-1;
}
.calendar .vc-title {
@apply text-sm font-medium relative z-20;
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 7f73e4d

Please sign in to comment.