From 5a28e6df53aef3905bed9a47b4a43a5ecb238028 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 29 Sep 2014 21:01:34 +0200 Subject: [PATCH] Moved to content editable in article add. --- app/assets/stylesheets/zzz.css.erb | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/app/assets/stylesheets/zzz.css.erb b/app/assets/stylesheets/zzz.css.erb index 226d4fae0..ea4590261 100644 --- a/app/assets/stylesheets/zzz.css.erb +++ b/app/assets/stylesheets/zzz.css.erb @@ -2375,7 +2375,6 @@ footer { } .ticket-title h1 { - max-width: 350px; margin-top: 15px; margin-bottom: 8px; text-align: center; @@ -2529,7 +2528,7 @@ footer { transform: rotate(-45deg); } - .ticket-article-item.is-internal .bubble-arrow:after { + .article-add.is-internal .bubble-arrow:after { background: #f2def2; border: #eed3d7; } @@ -2635,15 +2634,15 @@ footer { opacity: 0.2; } - .ticket-edit.is-public .internal-visibility { + .article-add.is-public .internal-visibility { visibility: hidden; } - .ticket-edit.is-internal .visibility-toggle .icon { + .article-add.is-internal .visibility-toggle .icon { opacity: 1; } - .ticket-edit.is-internal .public-visibility { + .article-add.is-internal .public-visibility { visibility: hidden; } @@ -2762,17 +2761,16 @@ footer { .recipient-list input:-ms-input-placeholder { color: #666; } .ticket-edit .text-bubble { - padding: 0; border-color: #b3b3b3; white-space: normal; border-radius: 5px; overflow: hidden; } - .ticket-edit textarea { + .ticket-edit .text-bubble [contenteditable] { width: 100%; - height: 38px; - padding: 10px; + /*height: 38px;*/ + min-height: 20px; vertical-align: bottom; border: none; background: none;