Fix Draftail placeholder text rendering

This commit is contained in:
Thibaud Colas 2018-01-15 17:38:54 +02:00
parent a03521f575
commit 0fd3b1872f

View file

@ -25,7 +25,8 @@ $draftail-editor-font-family: $font-serif;
// Give each block element eg. paragraph some spacing so we don't end up
// with empty paragraphs in code when user double enters because they think
// there are no paragraphs.
div[data-block='true'] {
div[data-block='true'],
.public-DraftEditorPlaceholder-inner {
margin: 0.5rem 0;
}