diff --git a/apps/comments/css/comments.css b/apps/comments/css/comments.css index 8423151cac..3452a1aad5 100644 --- a/apps/comments/css/comments.css +++ b/apps/comments/css/comments.css @@ -48,10 +48,15 @@ margin-right: 6px; } -#commentsTabView .newCommentForm textarea { +#commentsTabView .newCommentForm div.message { resize: none; } +#commentsTabView .newCommentForm div.message:empty:before { + content: attr(data-placeholder); + color: grey; +} + #commentsTabView .comment { position: relative; margin-bottom: 30px; diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js index d379af3663..d1df457c03 100644 --- a/apps/comments/js/commentstabview.js +++ b/apps/comments/js/commentstabview.js @@ -30,7 +30,7 @@ '{{/if}}' + ' ' + '