Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions webapp/src/components/ui/calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,19 @@ function Calendar({
showOutsideDays={showOutsideDays}
className={cn("p-3", className)}
classNames={{
months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
months: "relative flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
month: "space-y-4",
month_caption: "flex justify-center pt-1 relative items-center",
month_caption:
"flex justify-center pt-1 px-10 relative items-center",
caption_label: "text-sm font-medium",
nav: "space-x-1 flex items-center",
nav: "pointer-events-none absolute inset-x-3 z-20 flex items-center justify-between",
button_previous: cn(
buttonVariants({ variant: "outline" }),
"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100 absolute left-1",
"pointer-events-auto h-8 w-8 bg-background p-0 opacity-70 hover:opacity-100",
),
button_next: cn(
buttonVariants({ variant: "outline" }),
"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100 absolute right-1",
"pointer-events-auto h-8 w-8 bg-background p-0 opacity-70 hover:opacity-100",
),
month_grid: "w-full border-collapse space-y-1",
weekdays: "flex",
Expand Down
Loading