[#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 (
<Card
variant="outlined"
style={
!isMoreThan15 || isMonthView
? { ...cardStyle, height: "auto" }
: { ...cardStyle }
}
style={{
...cardStyle,
...(!isMoreThan15 || isMonthView ? { height: "auto" } : {}),
...(!isMoreThan15 && !isMonthView
? { transform: "translateY(2px)" }
: {}),
}}
ref={cardRef}
data-testid={`event-card-${event._def.extendedProps.uid}`}
>