[evolution] Composer: Don't show blockquote indicators on both sides for 6th+ level



commit ee4c3225059fe5ff7556c3f6f4ab885b7136e256
Author: Milan Crha <mcrha redhat com>
Date:   Fri Nov 5 11:43:50 2021 +0100

    Composer: Don't show blockquote indicators on both sides for 6th+ level
    
    Related to https://gitlab.gnome.org/GNOME/evolution/issues/445

 src/modules/webkit-editor/e-webkit-editor.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
---
diff --git a/src/modules/webkit-editor/e-webkit-editor.c b/src/modules/webkit-editor/e-webkit-editor.c
index 4e0cdc02cb..ec9f122f6b 100644
--- a/src/modules/webkit-editor/e-webkit-editor.c
+++ b/src/modules/webkit-editor/e-webkit-editor.c
@@ -1384,6 +1384,24 @@ webkit_editor_update_styles (EContentEditor *editor)
                        "  border-color: %s;\n"
                        "}\n",
                        e_web_view_get_citation_color_for_level (5));
+
+               g_string_append_printf (
+                       stylesheet,
+                       "body "
+                       "blockquote[type=cite] "
+                       "blockquote[type=cite] "
+                       "blockquote[type=cite] "
+                       "blockquote[type=cite] "
+                       "blockquote[type=cite] "
+                       "blockquote[type=cite] "
+                       "{\n"
+                       "  border-color: %s;\n"
+                       "  padding: 0ch 0ch 0ch 1ch;\n"
+                       "  margin: 0ch;\n"
+                       "  border-width: 0px 0px 0px 2px;\n"
+                       "  border-style: none none none solid;\n"
+                       "}\n",
+                       e_web_view_get_citation_color_for_level (1));
        } else {
                g_string_append (
                        stylesheet,


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