aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Popela <tpopela@redhat.com>2014-06-19 20:23:30 +0800
committerTomas Popela <tpopela@redhat.com>2014-06-19 21:23:17 +0800
commit2370ff941b68d79b4ff28df6626f9848bbaddf1e (patch)
treed5681aff35ee9fc92bb53a5df8a29c8f6194d762
parentfa54679bab999050d821dbb71ed8b38b640ad008 (diff)
downloadgsoc2013-evolution-2370ff941b68d79b4ff28df6626f9848bbaddf1e.tar
gsoc2013-evolution-2370ff941b68d79b4ff28df6626f9848bbaddf1e.tar.gz
gsoc2013-evolution-2370ff941b68d79b4ff28df6626f9848bbaddf1e.tar.bz2
gsoc2013-evolution-2370ff941b68d79b4ff28df6626f9848bbaddf1e.tar.lz
gsoc2013-evolution-2370ff941b68d79b4ff28df6626f9848bbaddf1e.tar.xz
gsoc2013-evolution-2370ff941b68d79b4ff28df6626f9848bbaddf1e.tar.zst
gsoc2013-evolution-2370ff941b68d79b4ff28df6626f9848bbaddf1e.zip
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.
-rw-r--r--e-util/e-html-editor-view.c10
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 3a712bf2ed..f17c4446f3 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"