1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +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 }) => ({
display: 'flex',
flexDirection: 'row',
alignItems: 'flex-end',
}));
const StyledTimeline = styled(Timeline)(() => ({
@ -168,7 +169,6 @@ const createTimelineItem = (
</TimelineSeparator>
<TimelineContent>
{title}
<br />
<ConditionallyRender
condition={Boolean(subtitle)}
show={