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>
|
||||||
|
|
||||||
<div class="d-editor-preview-wrapper {{if forcePreview 'force-preview'}}">
|
<div class="d-editor-preview-wrapper {{if forcePreview 'force-preview'}}">
|
||||||
<div class="d-editor-preview">
|
<div class="d-editor-preview">{{{preview}}}</div>
|
||||||
{{{preview}}}
|
|
||||||
</div>
|
|
||||||
{{plugin-outlet name="editor-preview" classNames="d-editor-plugin"}}
|
{{plugin-outlet name="editor-preview" classNames="d-editor-plugin"}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -182,6 +182,9 @@
|
||||||
.d-editor-preview {
|
.d-editor-preview {
|
||||||
background-color: $primary-very-low;
|
background-color: $primary-very-low;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
&:empty {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue