Skip to content

Commit

Permalink
fix: calendar selected day border radius (#746)
Browse files Browse the repository at this point in the history
* fix: calendar selected day border radius default theme

* fix: calendar selected day border radius new york theme
  • Loading branch information
anatolzak authored Feb 6, 2024
1 parent 99f5747 commit daa8952
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<CalendarPrimitive.Cell
{date}
class={cn(
"h-9 w-9 text-center text-sm p-0 relative [&:has([data-selected][data-outside-month])]:bg-accent/50 [&:has([data-selected])]:bg-accent first:[&:has([data-selected])]:rounded-l-md last:[&:has([data-selected])]:rounded-r-md focus-within:relative focus-within:z-20",
"h-9 w-9 text-center text-sm p-0 relative [&:has([data-selected][data-outside-month])]:bg-accent/50 [&:has([data-selected])]:bg-accent [&:has([data-selected])]:rounded-md focus-within:relative focus-within:z-20",
className
)}
{...$$restProps}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<CalendarPrimitive.Cell
{date}
class={cn(
"relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([data-selected][data-outside-month])]:bg-accent/50 [&:has([data-selected])]:bg-accent first:[&:has([data-selected])]:rounded-l-md last:[&:has([data-selected])]:rounded-r-md",
"relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([data-selected][data-outside-month])]:bg-accent/50 [&:has([data-selected])]:bg-accent [&:has([data-selected])]:rounded-md",
className
)}
{...$$restProps}
Expand Down

0 comments on commit daa8952

Please sign in to comment.