[evolution/wip/webkit-composer: 362/372] EEditorWidget: Remove margin before and after lists



commit b2d4a2e15930ee731e8ac60ae7ce10198bc90722
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Jan 30 13:01:38 2014 +0100

    EEditorWidget: Remove margin before and after lists

 e-util/e-editor-widget.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-editor-widget.c b/e-util/e-editor-widget.c
index 9036c12..5bb3e49 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -3213,6 +3213,14 @@ e_editor_widget_update_fonts (EEditorWidget *widget)
 
        g_string_append(
                stylesheet,
+               "ol,ul "
+               "{\n"
+               "  -webkit-margin-before: 0em; \n"
+               "  -webkit-margin-after: 0em; \n"
+               "}\n");
+
+       g_string_append(
+               stylesheet,
                "blockquote "
                "{\n"
                "  -webkit-margin-before: 0em; \n"


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