Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
@@ -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}`}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user