From 4b670b07863d3cc209cb27bf51e83ae8b90f2a91 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Fri, 5 May 2017 23:30:17 +0200 Subject: [PATCH] Richtext - overwrite contenteditable hover and focus styles, fixes #1044 --- app/assets/stylesheets/zammad.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index 7c22412ff..56a79061e 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -5078,9 +5078,9 @@ footer { min-height: 20px; vertical-align: bottom; border: none; - background: none !important; // overwrite [contenteditable]:hover outline: none; resize: none; + white-space: pre; } .articleNewEdit-body { @@ -8392,6 +8392,14 @@ output { } .richtext-content { + &[contenteditable] { + &, + &:hover, + &:focus { + background: none; + } + } + table, pre, blockquote {