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