fix: v-calendar range picker is overflown in mobile screen (#550)
This commit is contained in:
parent
ead6ad8437
commit
7f73e4d74b
|
|
@ -26,7 +26,7 @@ const date = ref({
|
||||||
id="date"
|
id="date"
|
||||||
:variant="'outline'"
|
:variant="'outline'"
|
||||||
:class="cn(
|
:class="cn(
|
||||||
'w-[300px] justify-start text-left font-normal',
|
'w-[280px] justify-start text-left font-normal',
|
||||||
!date && 'text-muted-foreground',
|
!date && 'text-muted-foreground',
|
||||||
)"
|
)"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const date = ref({
|
||||||
id="date"
|
id="date"
|
||||||
:variant="'outline'"
|
:variant="'outline'"
|
||||||
:class="cn(
|
:class="cn(
|
||||||
'w-[300px] justify-start text-left font-normal',
|
'w-[280px] justify-start text-left font-normal',
|
||||||
!date && 'text-muted-foreground',
|
!date && 'text-muted-foreground',
|
||||||
)"
|
)"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@ const vCalendarSlots = computed(() => {
|
||||||
@apply p-3 text-center;
|
@apply p-3 text-center;
|
||||||
}
|
}
|
||||||
.calendar .vc-pane-layout {
|
.calendar .vc-pane-layout {
|
||||||
@apply grid gap-4;
|
@apply grid gap-4 max-sm:!grid-cols-1;
|
||||||
}
|
}
|
||||||
.calendar .vc-title {
|
.calendar .vc-title {
|
||||||
@apply text-sm font-medium relative z-20;
|
@apply text-sm font-medium relative z-20;
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const date = ref({
|
||||||
id="date"
|
id="date"
|
||||||
:variant="'outline'"
|
:variant="'outline'"
|
||||||
:class="cn(
|
:class="cn(
|
||||||
'w-[300px] justify-start text-left font-normal',
|
'w-[280px] justify-start text-left font-normal',
|
||||||
!date && 'text-muted-foreground',
|
!date && 'text-muted-foreground',
|
||||||
)"
|
)"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const date = ref({
|
||||||
id="date"
|
id="date"
|
||||||
:variant="'outline'"
|
:variant="'outline'"
|
||||||
:class="cn(
|
:class="cn(
|
||||||
'w-[300px] justify-start text-left font-normal',
|
'w-[280px] justify-start text-left font-normal',
|
||||||
!date && 'text-muted-foreground',
|
!date && 'text-muted-foreground',
|
||||||
)"
|
)"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ const vCalendarSlots = computed(() => {
|
||||||
@apply p-3 text-center;
|
@apply p-3 text-center;
|
||||||
}
|
}
|
||||||
.calendar .vc-pane-layout {
|
.calendar .vc-pane-layout {
|
||||||
@apply grid gap-4;
|
@apply grid gap-4 max-sm:!grid-cols-1;
|
||||||
}
|
}
|
||||||
.calendar .vc-title {
|
.calendar .vc-title {
|
||||||
@apply text-sm font-medium relative z-20;
|
@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
Loading…
Reference in New Issue
Block a user