Skip to content

Commit

Permalink
[core] Fix use of correct CSS syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Dec 25, 2023
1 parent 6e2b04c commit 19c7609
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const StyledNodeDropArea = styled('div', {
pointerEvents: 'none',
position: 'absolute',
[`&.${dropAreaHighlightClasses.highlightedTop}`]: {
'&:after': {
'&::after': {
backgroundColor: theme.palette.primary[500],
content: "''",
position: 'absolute',
Expand All @@ -60,7 +60,7 @@ const StyledNodeDropArea = styled('div', {
},
},
[`&.${dropAreaHighlightClasses.highlightedRight}`]: {
'&:after': {
'&::after': {
backgroundColor: theme.palette.primary[500],
content: "''",
position: 'absolute',
Expand All @@ -71,7 +71,7 @@ const StyledNodeDropArea = styled('div', {
},
},
[`&.${dropAreaHighlightClasses.highlightedBottom}`]: {
'&:after': {
'&::after': {
backgroundColor: theme.palette.primary[500],
content: "''",
position: 'absolute',
Expand All @@ -82,7 +82,7 @@ const StyledNodeDropArea = styled('div', {
},
},
[`&.${dropAreaHighlightClasses.highlightedLeft}`]: {
'&:after': {
'&::after': {
backgroundColor: theme.palette.primary[500],
content: "''",
position: 'absolute',
Expand Down

0 comments on commit 19c7609

Please sign in to comment.