[evolution/webkit-composer: 104/130] Bug #689777 - HTML inter-line spacing too high
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit-composer: 104/130] Bug #689777 - HTML inter-line spacing too high
- Date: Sat, 19 Jan 2013 14:35:50 +0000 (UTC)
commit fd83b62a9189849aa510802ecdf0fabcf72a4a2d
Author: Dan VrÃtil <dvratil redhat com>
Date: Sun Dec 9 22:46:05 2012 +0100
Bug #689777 - HTML inter-line spacing too high
Reduce vertical space between paragraphs and headings.
e-util/e-editor-widget.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-editor-widget.c b/e-util/e-editor-widget.c
index e5bb5e2..bb0182f 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -1769,6 +1769,16 @@ e_editor_widget_update_fonts (EEditorWidget *widget)
e_color_to_value (link),
e_color_to_value (visited));
+ /* See bug #689777 for details */
+ g_string_append_printf (stylesheet,
+ "p,pre,code,address {\n"
+ " margin: 0;\n"
+ "}\n"
+ "h1,h2,h3,h4,h5,h6 {\n"
+ " margin-top: 0.2em;\n"
+ " margin-bottom: 0.2em;\n"
+ "}\n");
+
gdk_color_free (link);
gdk_color_free (visited);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]