Skip to content

Commit

Permalink
fix: align timeline icon for schedule failures (#5761)
Browse files Browse the repository at this point in the history
Aligns the icon to the end of the end of the box to make it match the
text.

Also removes a redundant br element.
  • Loading branch information
thomasheartman committed Jan 4, 2024
1 parent 4c574a1 commit ff96563
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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)(() => ({
Expand Down Expand Up @@ -168,7 +169,6 @@ const createTimelineItem = (
</TimelineSeparator>
<TimelineContent>
{title}
<br />
<ConditionallyRender
condition={Boolean(subtitle)}
show={
Expand Down

0 comments on commit ff96563

Please sign in to comment.