Skip to content

Commit

Permalink
fix: better arrow design in network overview (#6331)
Browse files Browse the repository at this point in the history
Improves the arrow design in the "Network overview" after aligning with
@nicolaesocaciu
  • Loading branch information
nunogois authored Feb 23, 2024
1 parent bae195a commit aa97cc4
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const StyledElementBox = styled('div')(({ theme }) => ({
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
padding: theme.spacing(2),
padding: theme.spacing(1.5),
zIndex: 1,
'& > svg': {
width: theme.spacing(9),
Expand Down Expand Up @@ -126,7 +126,15 @@ export const NetworkOverview = () => {
}

return (
<ArcherContainer strokeColor={theme.palette.text.primary}>
<ArcherContainer
strokeColor={theme.palette.text.primary}
endShape={{
arrow: {
arrowLength: 4,
arrowThickness: 4,
},
}}
>
<StyleUnleashContainer>
<ArcherElement id='unleash'>
<StyledElementBox>
Expand Down

0 comments on commit aa97cc4

Please sign in to comment.