Skip to content

Commit

Permalink
replace :first-child with :first-of-type
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed May 18, 2021
1 parent 0404f29 commit 9df05fb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const PickersModalDialogContent = styled(
{},
{ skipSx: true },
)({
'&:first-child': {
'&:first-of-type': {
padding: 0,
},
});
Expand All @@ -84,7 +84,7 @@ const PickersModalDialogActions = styled(
// set justifyContent to default value to fix IE11 layout bug
// see https://github.com/mui-org/material-ui-pickers/pull/267
justifyContent: 'flex-start',
'& > *:first-child': {
'& > *:first-of-type': {
marginRight: 'auto',
},
}),
Expand Down

0 comments on commit 9df05fb

Please sign in to comment.