fix: v-calendar range picker is overflown in mobile screen (#550)

This commit is contained in:
Sadegh Barati 2024-05-14 13:36:30 +03:30 committed by GitHub
parent ead6ad8437
commit 7f73e4d74b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 8 additions and 8 deletions

View File

@ -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',
)"
>

View File

@ -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',
)"
>

View File

@ -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;

View File

@ -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',
)"
>

View File

@ -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',
)"
>

View File

@ -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;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long