Skip to content

Commit

Permalink
[@mantine/tiptap] Fix emotion warning produced by placeholder styles …
Browse files Browse the repository at this point in the history
…:first-child selector usage
  • Loading branch information
rtivital committed Nov 28, 2022
1 parent 10a1af2 commit f6648c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mantine-tiptap/src/Content/Content.styles.ts
Expand Up @@ -115,7 +115,7 @@ export default createStyles(
marginBottom: 0,
},

'& .ProseMirror p.is-editor-empty:first-child::before': {
'& .ProseMirror p.is-editor-empty:first-of-type::before': {
content: 'attr(data-placeholder)',
userSelect: 'none',
float: 'left',
Expand Down

0 comments on commit f6648c4

Please sign in to comment.