f63d024777
If text area was bigger than the post, switching to preview mode showed gray space under the text. Now the preview pane's background should fill the whole edit box size.
31 lines
971 B
Smarty
31 lines
971 B
Smarty
<div class='tabs'>
|
|
<form>
|
|
<div class='tabs-wrapper'><%
|
|
%><div class='tab-wrapper'><%
|
|
%><div class='preview tab'><%
|
|
%><div class='comment-content'><%
|
|
%><%= ctx.makeMarkdown(ctx.comment.text) %><%
|
|
%></div><%
|
|
%></div><%
|
|
|
|
%><div class='edit tab'><%
|
|
%><textarea required minlength=1><%- ctx.comment.text %></textarea><%
|
|
%></div><%
|
|
%></div><%
|
|
%></div>
|
|
|
|
<nav class='buttons'>
|
|
<ul>
|
|
<li class='preview'><a href>Preview</a></li>
|
|
<li class='edit'><a href>Edit</a></li>
|
|
</ul>
|
|
</nav>
|
|
|
|
<nav class='actions'>
|
|
<input type='submit' class='save' value='Save'/>
|
|
<input type='button' class='cancel discourage' value='Cancel'/>
|
|
</nav>
|
|
</form>
|
|
|
|
<div class='messages'></div>
|
|
</div>
|