Skip to content

Commit

Permalink
Fix style for embedded ArrayInputs
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Aug 31, 2022
1 parent 2c5a128 commit 93acc07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ const Root = styled(FormControl, {
overridesResolver: (props, styles) => styles.root,
})(({ theme }) => ({
[`& .${ArrayInputClasses.label}`]: {
top: theme.spacing(-0.5),
top: theme.spacing(-2),
left: theme.spacing(-1.5),
},
}));
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ const Root = styled('ul', {
overridesResolver: (props, styles) => styles.root,
})(({ theme }) => ({
padding: 0,
marginTop: 0,
marginBottom: 0,
'& > li:last-child': {
borderBottom: 'none',
Expand Down

0 comments on commit 93acc07

Please sign in to comment.