Improve textarea resizing

This commit is contained in:
Naoki Takezoe
2017-02-20 10:11:26 +09:00
parent 925408db31
commit 768a3b1756

View File

@@ -22,9 +22,8 @@
<div class="tab-pane active" style="margin-top: 4px;" id="tab@uid">
<span id="error-content" class="error"></span>
@textarea = {
<textarea id="content@uid" class="form-control" name="content" placeholder="@placeholder"
<textarea id="content@uid" class="form-control" name="content" placeholder="@placeholder" style="resize: vertical; @style"
@if(tabIndex > -2){ tabindex="@tabIndex"}
@if(style.nonEmpty){ style="@style"}
@if(styleClass.nonEmpty){ class="@styleClass" }>@content</textarea>
}
@gitbucket.core.helper.html.attached(