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:
parent
4c574a1e50
commit
ff96563742
@ -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={
|
||||
|
Loading…
Reference in New Issue
Block a user