[evolution] EHTMLEditorView - Activate inline image resize just when hovering over image



commit 2370ff941b68d79b4ff28df6626f9848bbaddf1e
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Jun 19 14:23:30 2014 +0200

    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 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 3a712bf..f17c444 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -5787,8 +5787,9 @@ 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"
@@ -5796,13 +5797,6 @@ e_html_editor_view_update_fonts (EHTMLEditorView *view)
 
        g_string_append (
                stylesheet,
-               "span.-x-evo-resizable-wrapper:hover "
-               "{\n"
-               "  outline: 1px dashed red; \n"
-               "}\n");
-
-       g_string_append (
-               stylesheet,
                "ul,ol "
                "{\n"
                "  -webkit-padding-start: 7ch; \n"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]