1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: align timeline icon for schedule failures (#5761)

Aligns the icon to the end of the end of the box to make it match the
text.

Also removes a redundant br element.
This commit is contained in:
Thomas Heartman 2024-01-04 16:04:50 +05:30 committed by GitHub
parent 4c574a1e50
commit ff96563742
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,7 @@ const StyledBox = styled(Box)(({ theme }) => ({
const StyledSubtitle = styled(Box)(({ theme }) => ({ const StyledSubtitle = styled(Box)(({ theme }) => ({
display: 'flex', display: 'flex',
flexDirection: 'row', flexDirection: 'row',
alignItems: 'flex-end',
})); }));
const StyledTimeline = styled(Timeline)(() => ({ const StyledTimeline = styled(Timeline)(() => ({
@ -168,7 +169,6 @@ const createTimelineItem = (
</TimelineSeparator> </TimelineSeparator>
<TimelineContent> <TimelineContent>
{title} {title}
<br />
<ConditionallyRender <ConditionallyRender
condition={Boolean(subtitle)} condition={Boolean(subtitle)}
show={ show={