Event ID:
{(event.dateCreated ?? event.dateReceived) && (
{getDynamicText({
fixed: 'Jan 1, 12:00 AM',
value: (
}
overlayStyle={{maxWidth: 300}}
>
),
})}
{isOverLatencyThreshold && (
)}
)}
}
disabled={!hasPreviousEvent}
title={t('Previous Event')}
eventId={event.previousEventID}
referrer="previous-event"
/>
}
disabled={!hasNextEvent}
title={t('Next Event')}
eventId={event.nextEventID}
referrer="next-event"
/>
);
}
const CarouselAndButtonsWrapper = styled('div')`
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: ${space(1)};
margin-bottom: ${space(0.5)};
`;
const EventHeading = styled('div')`
display: flex;
align-items: center;
flex-wrap: wrap;
gap: ${space(1)};
font-size: ${p => p.theme.fontSizeLarge};
@media (max-width: 600px) {
font-size: ${p => p.theme.fontSizeMedium};
}
`;
const ActionsWrapper = styled('div')`
display: flex;
align-items: center;
gap: ${space(0.5)};
`;
const StyledNavButton = styled(Button)`
border-radius: 0;
`;
const NavButtons = styled('div')`
display: flex;
> * {
&:not(:last-child) {
${StyledNavButton} {
border-right: none;
}
}
&:first-child {
${StyledNavButton} {
border-radius: ${p => p.theme.borderRadius} 0 0 ${p => p.theme.borderRadius};
}
}
&:last-child {
${StyledNavButton} {
border-radius: 0 ${p => p.theme.borderRadius} ${p => p.theme.borderRadius} 0;
}
}
}
`;
const EventIdAndTimeContainer = styled('div')`
display: flex;
align-items: center;
column-gap: ${space(0.75)};
row-gap: 0;
flex-wrap: wrap;
`;
const EventIdContainer = styled('div')`
display: flex;
align-items: center;
column-gap: ${space(0.25)};
`;
const EventTimeLabel = styled('span')`
color: ${p => p.theme.subText};
`;
const StyledIconWarning = styled(IconWarning)`
margin-left: ${space(0.25)};
position: relative;
top: 1px;
`;
const EventId = styled('span')`
position: relative;
font-weight: normal;
font-size: ${p => p.theme.fontSizeLarge};
&:hover {
> span {
display: flex;
}
}
@media (max-width: 600px) {
font-size: ${p => p.theme.fontSizeMedium};
}
`;
const CopyIconContainer = styled('span')`
display: none;
align-items: center;
padding: ${space(0.25)};
background: ${p => p.theme.background};
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
`;