mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: better arrow design in network overview (#6331)
Improves the arrow design in the "Network overview" after aligning with @nicolaesocaciu
This commit is contained in:
parent
bae195add9
commit
aa97cc4637
@ -33,7 +33,7 @@ const StyledElementBox = styled('div')(({ theme }) => ({
|
|||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
padding: theme.spacing(2),
|
padding: theme.spacing(1.5),
|
||||||
zIndex: 1,
|
zIndex: 1,
|
||||||
'& > svg': {
|
'& > svg': {
|
||||||
width: theme.spacing(9),
|
width: theme.spacing(9),
|
||||||
@ -126,7 +126,15 @@ export const NetworkOverview = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ArcherContainer strokeColor={theme.palette.text.primary}>
|
<ArcherContainer
|
||||||
|
strokeColor={theme.palette.text.primary}
|
||||||
|
endShape={{
|
||||||
|
arrow: {
|
||||||
|
arrowLength: 4,
|
||||||
|
arrowThickness: 4,
|
||||||
|
},
|
||||||
|
}}
|
||||||
|
>
|
||||||
<StyleUnleashContainer>
|
<StyleUnleashContainer>
|
||||||
<ArcherElement id='unleash'>
|
<ArcherElement id='unleash'>
|
||||||
<StyledElementBox>
|
<StyledElementBox>
|
||||||
|
Loading…
Reference in New Issue
Block a user