[#619] translate -15min event 2px towards bottom to align to other sizes (#633)

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
Camille Moussu
2026-03-13 11:39:26 +01:00
committed by GitHub
parent 6ff723b2b8
commit ee33da468d
+7 -5
View File
@@ -117,11 +117,13 @@ export function EventChip({
return ( return (
<Card <Card
variant="outlined" variant="outlined"
style={ style={{
!isMoreThan15 || isMonthView ...cardStyle,
? { ...cardStyle, height: "auto" } ...(!isMoreThan15 || isMonthView ? { height: "auto" } : {}),
: { ...cardStyle } ...(!isMoreThan15 && !isMonthView
} ? { transform: "translateY(2px)" }
: {}),
}}
ref={cardRef} ref={cardRef}
data-testid={`event-card-${event._def.extendedProps.uid}`} data-testid={`event-card-${event._def.extendedProps.uid}`}
> >