Remove whitespace in template so we can use :empty psuedo
This commit is contained in:
parent
addf6f6d17
commit
0140844eb0
|
@ -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>
|
||||
|
|
|
@ -182,6 +182,9 @@
|
|||
.d-editor-preview {
|
||||
background-color: $primary-very-low;
|
||||
padding: 5px;
|
||||
&:empty {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue