LSformElement_wysiwyg: adjust width

This commit is contained in:
Benjamin Renard 2020-05-27 15:56:59 +02:00
parent 49a34fa8e3
commit 90879dc582
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
div.LSformElement_wysiwyg_container {
width: 32rem;
}
iframe.LSformElement_wysiwyg {
width: 100%;
border: 1px dotted #999;

View file

@ -1,5 +1,7 @@
<div class='LSformElement_wysiwyg_container'>
{if $freeze}
{if $value}<div class='LSformElement_wysiwyg'>{$value}</div>{else}{$noValueTxt|escape:"htmlall"}{/if}
{else}
<textarea name='{$attr_name|escape:"quotes"}[]' class='LSform LSformElement_wysiwyg'>{$value|escape:"htmlall"}</textarea>
{/if}
</div>