From 3662155783e160554f08076800c1eab61ba193b1 Mon Sep 17 00:00:00 2001 From: Sadegh Barati Date: Thu, 15 Feb 2024 16:13:38 +0330 Subject: [PATCH] fix: update --- .../src/lib/registry/default/ui/calendar/Calendar.vue | 4 ++-- .../src/lib/registry/new-york/ui/calendar/Calendar.vue | 10 ++-------- .../src/public/registry/styles/default/calendar.json | 2 +- .../src/public/registry/styles/new-york/calendar.json | 2 +- 4 files changed, 6 insertions(+), 12 deletions(-) diff --git a/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue b/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue index 3be51c7b..b8c60f3d 100644 --- a/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue +++ b/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue @@ -147,10 +147,10 @@ const vCalendarSlots = computed(() => { @apply mt-4; } .calendar .vc-weekdays { - @apply flex; + @apply justify-items-center; } .calendar .vc-weekday { - @apply text-muted-foreground rounded-md w-full font-normal text-[0.8rem]; + @apply text-muted-foreground rounded-md font-normal text-[0.8rem]; } .calendar .vc-weeks { @apply w-full space-y-2 flex flex-col [&>_div]:grid [&>_div]:grid-cols-7; diff --git a/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue b/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue index 6fadd9d1..bada5b22 100644 --- a/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue +++ b/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue @@ -148,16 +148,10 @@ const vCalendarSlots = computed(() => { @apply mt-4; } .calendar .vc-weekdays { - @apply flex; + @apply justify-items-center; } .calendar .vc-weekday { - @apply text-muted-foreground rounded-md w-full font-normal text-[0.8rem]; -} -.calendar .vc-weekday-1 { - @apply pr-3; -} -.calendar .vc-weekday-7 { - @apply pl-3; + @apply text-muted-foreground rounded-md font-normal text-[0.8rem]; } .calendar .vc-weeks { @apply w-full space-y-2 flex flex-col [&>_div]:grid [&>_div]:grid-cols-7; diff --git a/apps/www/src/public/registry/styles/default/calendar.json b/apps/www/src/public/registry/styles/default/calendar.json index f2c24d22..40b158fb 100644 --- a/apps/www/src/public/registry/styles/default/calendar.json +++ b/apps/www/src/public/registry/styles/default/calendar.json @@ -11,7 +11,7 @@ "files": [ { "name": "Calendar.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/new-york/calendar.json b/apps/www/src/public/registry/styles/new-york/calendar.json index 13324253..5b6b65d4 100644 --- a/apps/www/src/public/registry/styles/new-york/calendar.json +++ b/apps/www/src/public/registry/styles/new-york/calendar.json @@ -11,7 +11,7 @@ "files": [ { "name": "Calendar.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n\n\n" }, { "name": "index.ts",