[evolution/wip/webkit2] Bug 757594 - Multiline bulleted list items has text not aligned to bullet points



commit 359ab32aab327e6b39cc7ba869f419c69c0ce103
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Mar 2 16:07:28 2016 +0100

    Bug 757594 - Multiline bulleted list items has text not aligned to bullet points

 e-util/e-html-editor-view.c |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 2289004..2a77611 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -2695,28 +2695,20 @@ e_html_editor_view_update_fonts (EHTMLEditorView *view)
 
        g_string_append (
                stylesheet,
-               "ul:not([data-evo-plain-text]),ol > li.-x-evo-align-center"
+               "ul:not([data-evo-plain-text]) > li.-x-evo-align-center,ol > li.-x-evo-align-center"
                "{\n"
                "  list-style-position: inside;\n"
                "}\n");
 
        g_string_append (
                stylesheet,
-               "ul:not([data-evo-plain-text]),ol > li.-x-evo-align-right"
+               "ul:not([data-evo-plain-text]) > li.-x-evo-align-right, ol > li.-x-evo-align-right"
                "{\n"
                "  list-style-position: inside;\n"
                "}\n");
 
        g_string_append_printf (
                stylesheet,
-               "ul:not([data-evo-plain-text]),ol > li"
-               "{\n"
-               "  text-indent: -%dch;\n"
-               "  list-style-position: inside;\n"
-               "}\n", SPACES_PER_LIST_LEVEL);
-
-       g_string_append_printf (
-               stylesheet,
                "ol"
                "{\n"
                "  -webkit-padding-start: %dch; \n"


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