diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-10-17 23:24:01 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-10-22 14:14:33 +0200 |
commit | ec5607544c32797901f82c4e06161938a50fe322 (patch) | |
tree | b5464112dae8901ccc11ee65df666bbff0d85dff /apps/comments/css | |
parent | df0e72d8d9485a08d6d60261538d9d5a63aa266e (diff) | |
download | nextcloud-server-ec5607544c32797901f82c4e06161938a50fe322.tar.gz nextcloud-server-ec5607544c32797901f82c4e06161938a50fe322.zip |
turn textarea to contenteditable div
we will need it for nice formatting of the mentioned user
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/comments/css')
-rw-r--r-- | apps/comments/css/comments.css | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/comments/css/comments.css b/apps/comments/css/comments.css index 8423151cac8..3452a1aad57 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; |