[evolution/gnome-3-18] Bug 757594 - Multiline bulleted list items has text not aligned to bullet points
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-18] Bug 757594 - Multiline bulleted list items has text not aligned to bullet points
- Date: Thu, 5 Nov 2015 09:47:45 +0000 (UTC)
commit a50815444c49a34f59cbe29c1f3cfe69127e5d5f
Author: Tomas Popela <tpopela redhat com>
Date: Thu Nov 5 09:41:09 2015 +0100
Bug 757594 - Multiline bulleted list items has text not aligned to bullet points
Correct the CSS selectors and remove one rule to not modify the lists appearance
when in HTML mode.
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 c7ab676..fa46d7e 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -11835,28 +11835,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]