Skip to content

Commit 0bfdedf

Browse files
authored
Merge pull request #3635 from ChayanDass/overflow/taint
frontend:fix the overflow taints node table
2 parents 39485ff + a963d8a commit 0bfdedf

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

frontend/src/components/node/__snapshots__/List.Nodes.stories.storyshot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@
875875
class="MuiTableCell-root MuiTableCell-alignLeft MuiTableCell-sizeMedium css-16qg0bt-MuiTableCell-root"
876876
>
877877
<div
878-
class="MuiBox-root css-am63uh"
878+
class="MuiBox-root css-15e19qo"
879879
/>
880880
</td>
881881
<td
@@ -1003,7 +1003,7 @@
10031003
class="MuiTableCell-root MuiTableCell-alignLeft MuiTableCell-sizeMedium css-16qg0bt-MuiTableCell-root"
10041004
>
10051005
<div
1006-
class="MuiBox-root css-am63uh"
1006+
class="MuiBox-root css-15e19qo"
10071007
/>
10081008
</td>
10091009
<td

frontend/src/components/node/utils.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ const WrappingBox = styled(Box)(({ theme }) => ({
2626
display: 'flex',
2727
justifyContent: 'left',
2828
flexWrap: 'wrap',
29+
overflow: 'hidden',
2930
'& > *': {
30-
margin: theme.spacing(0.5),
31+
marginRight: theme.spacing(0.5),
32+
marginBottom: theme.spacing(0.5),
3133
},
3234
}));
3335

0 commit comments

Comments
 (0)