From 6a8e6192adc81b3ae283e7800abf3ba358efdcf2 Mon Sep 17 00:00:00 2001 From: Marko Rados Date: Sun, 22 Sep 2024 14:24:34 +0200 Subject: [PATCH] fix calendar --- package.json | 2 +- src/components/ui/calendar.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8fa4e8a..58459cc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@mrados7/shadcn-components", "private": false, - "version": "0.0.21", + "version": "0.0.23", "type": "module", "scripts": { "dev": "vite", diff --git a/src/components/ui/calendar.tsx b/src/components/ui/calendar.tsx index 72d4361..d4973e4 100644 --- a/src/components/ui/calendar.tsx +++ b/src/components/ui/calendar.tsx @@ -34,7 +34,7 @@ function Calendar({ head_cell: "text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]", row: "flex w-full mt-2", - cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20", + cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20", day: cn( buttonVariants({ variant: "ghost" }), "h-9 w-9 p-0 font-normal aria-selected:opacity-100"