Skip to content

Commit

Permalink
[1346] Fix placeholder placement and styling
Browse files Browse the repository at this point in the history
Bug: #1346
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
  • Loading branch information
pcdavid committed Nov 8, 2022
1 parent 6567452 commit ab3e35a
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -79,8 +79,8 @@ const useRichTextEditorStyles = makeStyles((theme) => ({
},
},
editorPlaceholder: {
color: theme.palette.grey[700],
top: theme.spacing(2),
color: theme.palette.text.secondary,
top: 0,
overflow: 'hidden',
position: 'absolute',
textOverflow: 'ellipsis',
Expand Down Expand Up @@ -110,7 +110,7 @@ const useRichTextEditorStyles = makeStyles((theme) => ({
textDecoration: 'underline line-through',
},
editorTextCode: {
backgroundColor: theme.palette.grey[200],
backgroundColor: theme.palette.background.default,
padding: '1px 0.25rem',
fontFamily: 'Menlo, Consolas, Monaco, monospace',
fontSize: '94%',
Expand Down

0 comments on commit ab3e35a

Please sign in to comment.