<section class="section">
<h2 class="sectionTitle">{lang}wcf.user.signature.current{/lang}</h2>
- <div class="htmlContent">{@$signatureCache}</div>
+ <div class="htmlContent messageSignatureConstraints">{@$signatureCache}</div>
</section>
{/if}
<dl class="wide{if $errorField == 'text'} formError{/if}">
<dt><label for="text">{lang}wcf.user.signature{/lang}</label></dt>
- <dd>
+ <dd class="messageSignatureConstraints">
<textarea id="text" class="wysiwygTextarea" name="text" rows="20" cols="40"
data-disable-media="true"
>{$text}</textarea>
// get preview container
var $preview = $('#previewContainer');
if (!$preview.length) {
- $preview = $('<section class="section" id="previewContainer"><h2 class="sectionTitle">' + WCF.Language.get('wcf.global.preview') + '</h2><div class="htmlContent"></div></section>').insertBefore($('#signatureContainer')).wcfFadeIn();
+ $preview = $('<section class="section" id="previewContainer"><h2 class="sectionTitle">' + WCF.Language.get('wcf.global.preview') + '</h2><div class="htmlContent messageSignatureConstraints"></div></section>').insertBefore($('#signatureContainer')).wcfFadeIn();
}
$preview.children('div').first().html(data.returnValues.message);
}
}
-.messageSignature {
- > div {
- @extend .htmlContent;
- }
-
- img {
- max-height: #{$wcf_option_signature_max_image_height}px;
- }
+.messageSignature > div {
+ @extend .htmlContent;
+}
+
+.messageSignature img,
+.messageSignatureConstraints img {
+ max-height: #{$wcf_option_signature_max_image_height}px;
}
@include screen-sm-down {