[evolution] I#445 - Don't show blockquote indicators on both sides for 6th+ level



commit be7d884b826f79a6e6f83526f2d01928ec71f1f1
Author: Milan Crha <mcrha redhat com>
Date:   Thu May 30 11:04:59 2019 +0200

    I#445 - Don't show blockquote indicators on both sides for 6th+ level
    
    Closes https://gitlab.gnome.org/GNOME/evolution/issues/445

 src/e-util/e-web-view.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
---
diff --git a/src/e-util/e-web-view.c b/src/e-util/e-web-view.c
index 67b5ada9fc..17dd4382a1 100644
--- a/src/e-util/e-web-view.c
+++ b/src/e-util/e-web-view.c
@@ -3940,6 +3940,23 @@ e_web_view_update_fonts_settings (GSettings *font_settings,
                        "  border-color: %s;\n"
                        "}\n",
                        e_web_view_get_citation_color_for_level (5));
+
+               g_string_append_printf (
+                       stylesheet,
+                       "blockquote[type=cite]:not(.-x-evo-plaintext-quoted) "
+                       "blockquote[type=cite]:not(.-x-evo-plaintext-quoted) "
+                       "blockquote[type=cite]:not(.-x-evo-plaintext-quoted) "
+                       "blockquote[type=cite]:not(.-x-evo-plaintext-quoted) "
+                       "blockquote[type=cite]:not(.-x-evo-plaintext-quoted) "
+                       "blockquote[type=cite]:not(.-x-evo-plaintext-quoted) "
+                       "{\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));
        }
 
        wk_settings = webkit_web_view_get_settings (WEBKIT_WEB_VIEW (view_widget));


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