diff --git a/client/css/comment-control.styl b/client/css/comment-control.styl index 4a9075c2..aa12f111 100644 --- a/client/css/comment-control.styl +++ b/client/css/comment-control.styl @@ -13,13 +13,12 @@ display: none .tabs-wrapper background: $active-tab-background-color - .tab padding: 0.3em - .comment-content-wrapper - background: $window-color - overflow: hidden - .comment-content - margin: 1em + .tab-wrapper[data-tab='preview'] + background: $window-color + .tab.preview + padding: 1em + .tab.edit textarea resize: vertical width: 100% diff --git a/client/html/comment_form.tpl b/client/html/comment_form.tpl index 5c60149f..e5839ed3 100644 --- a/client/html/comment_form.tpl +++ b/client/html/comment_form.tpl @@ -1,18 +1,18 @@
-
<%= ctx.makeMarkdown(ctx.comment.text) %>
+ %>
<% + %><% + %>
<% + %>
<% + %>