Skip to content

Commit

Permalink
[docs] Fix emotion warning :first-child (#36263)
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp authored Feb 20, 2023
1 parent 676bc85 commit 8d97d3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mui-docs/src/NProgressBar/NProgressBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ function NProgressBar(props) {
borderRadius: '100%',
animation: `${muiNProgressPulse} 2s ease-out 0s infinite`,
},
'& .nprogress-bar > div:first-child': {
'& .nprogress-bar > div:first-of-type': {
opacity: 0.6,
width: 20,
right: 0,
clip: 'rect(-6px,22px,14px,10px)',
},
'& .nprogress-bar > div:last-child': {
'& .nprogress-bar > div:last-of-type': {
opacity: 0.6,
width: 180,
right: -80,
Expand Down

0 comments on commit 8d97d3d

Please sign in to comment.