Skip to content

Commit

Permalink
Place styling changes in correct element
Browse files Browse the repository at this point in the history
  • Loading branch information
guergana committed Sep 11, 2024
1 parent 308540e commit 7b8ad82
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions client/components/Parts/Trees/File.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,17 +137,15 @@ const StyledTreeItem = styled(
},
'& > .MuiTreeItem-content .MuiTreeItem-label': {
maxWidth: '188px',
},
'& .Mui-button-root' : {
alignItems: 'flex-start',
maxHeight: '40px'
}
}}
label={<TreeItemIcon nodeId={props.nodeId} item={item} />}
/>
<IconButton
sx={{
width: '20px',
alignItems: 'flex-start',
maxHeight: '40px',
'& .MuiButton-startIcon' : {
marginRight: 0
},
Expand Down

0 comments on commit 7b8ad82

Please sign in to comment.