fix: square the colored left marker on calendar events
This commit is contained in:
@@ -146,7 +146,7 @@ export function CalendarSidebarPanel({
|
|||||||
)}
|
)}
|
||||||
{!cal.isShared && Object.keys(cal.shareWith || {}).length > 0 && (
|
{!cal.isShared && Object.keys(cal.shareWith || {}).length > 0 && (
|
||||||
<Users
|
<Users
|
||||||
className="w-3 h-3 text-muted-foreground flex-shrink-0 ml-auto"
|
className="w-3 h-3 text-muted-foreground flex-shrink-0"
|
||||||
aria-label={tMgmt('share')}
|
aria-label={tMgmt('share')}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -150,9 +150,8 @@ export function EventCard({ event, calendar, variant, onClick, onMouseEnter, onM
|
|||||||
aria-label={ariaLabel}
|
aria-label={ariaLabel}
|
||||||
{...dragProps}
|
{...dragProps}
|
||||||
className={cn(
|
className={cn(
|
||||||
"w-full h-full text-left rounded px-1.5 py-0.5 text-xs overflow-hidden",
|
"w-full h-full text-left rounded-r px-1.5 py-0.5 text-xs overflow-hidden",
|
||||||
"hover:opacity-90 transition-opacity cursor-pointer",
|
"hover:opacity-90 transition-opacity cursor-pointer",
|
||||||
continuesBefore && "rounded-l-sm",
|
|
||||||
continuesAfter && "rounded-r-sm",
|
continuesAfter && "rounded-r-sm",
|
||||||
continuesBefore && "-ml-0.5",
|
continuesBefore && "-ml-0.5",
|
||||||
continuesAfter && "pr-2",
|
continuesAfter && "pr-2",
|
||||||
@@ -182,7 +181,7 @@ export function EventCard({ event, calendar, variant, onClick, onMouseEnter, onM
|
|||||||
{...dragProps}
|
{...dragProps}
|
||||||
data-calendar-event
|
data-calendar-event
|
||||||
className={cn(
|
className={cn(
|
||||||
"w-full h-full text-left rounded px-1.5 py-0.5 text-xs overflow-hidden",
|
"w-full h-full text-left rounded-r px-1.5 py-0.5 text-xs overflow-hidden",
|
||||||
"hover:opacity-90 transition-opacity cursor-pointer",
|
"hover:opacity-90 transition-opacity cursor-pointer",
|
||||||
isSelected && "ring-2 ring-primary",
|
isSelected && "ring-2 ring-primary",
|
||||||
isBeingDragged && "opacity-50",
|
isBeingDragged && "opacity-50",
|
||||||
|
|||||||
Reference in New Issue
Block a user