Remove whitespace in template so we can use :empty psuedo

This commit is contained in:
Kris 2018-10-24 16:00:22 -04:00
parent addf6f6d17
commit 0140844eb0
2 changed files with 4 additions and 3 deletions

View File

@ -45,9 +45,7 @@
</div>
<div class="d-editor-preview-wrapper {{if forcePreview 'force-preview'}}">
<div class="d-editor-preview">
{{{preview}}}
</div>
<div class="d-editor-preview">{{{preview}}}</div>
{{plugin-outlet name="editor-preview" classNames="d-editor-plugin"}}
</div>
</div>

View File

@ -182,6 +182,9 @@
.d-editor-preview {
background-color: $primary-very-low;
padding: 5px;
&:empty {
padding: 0;
}
}
}