From 2370ff941b68d79b4ff28df6626f9848bbaddf1e Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Thu, 19 Jun 2014 14:23:30 +0200 Subject: EHTMLEditorView - Activate inline image resize just when hovering over image When we will leave the CSS "display: inline-block" on inline images they will break the caret move with Home/End keys. --- e-util/e-html-editor-view.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c index 3a712bf2ed..f17c4446f3 100644 --- a/e-util/e-html-editor-view.c +++ b/e-util/e-html-editor-view.c @@ -5787,20 +5787,14 @@ e_html_editor_view_update_fonts (EHTMLEditorView *view) g_string_append ( stylesheet, - "span.-x-evo-resizable-wrapper " + "span.-x-evo-resizable-wrapper:hover " "{\n" + " outline: 1px dashed red; \n" " resize: both; \n" " overflow: hidden; \n" " display: inline-block; \n" "}\n"); - g_string_append ( - stylesheet, - "span.-x-evo-resizable-wrapper:hover " - "{\n" - " outline: 1px dashed red; \n" - "}\n"); - g_string_append ( stylesheet, "ul,ol " -- cgit v1.2.3