[evolution/gnome-3-32] I#433 - Change <div>/<p> styling in composer to better match preview panel
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-32] I#433 - Change <div>/<p> styling in composer to better match preview panel
- Date: Mon, 10 Jun 2019 15:14:21 +0000 (UTC)
commit ccda1f3f41c3fdcab8e32620aa73fff4dd4172d7
Author: Milan Crha <mcrha redhat com>
Date: Mon Jun 10 17:13:56 2019 +0200
I#433 - Change <div>/<p> styling in composer to better match preview panel
Closes https://gitlab.gnome.org/GNOME/evolution/issues/433
src/modules/webkit-editor/e-webkit-editor.c | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/src/modules/webkit-editor/e-webkit-editor.c b/src/modules/webkit-editor/e-webkit-editor.c
index 73ed629a0f..a98b8dde7f 100644
--- a/src/modules/webkit-editor/e-webkit-editor.c
+++ b/src/modules/webkit-editor/e-webkit-editor.c
@@ -1061,8 +1061,8 @@ webkit_editor_update_styles (EContentEditor *editor)
/* See bug #689777 for details */
g_string_append (
stylesheet,
- "p,pre,code,address {\n"
- " margin: 0;\n"
+ "pre,code,address {\n"
+ " margin: 0px;\n"
"}\n"
"h1,h2,h3,h4,h5,h6 {\n"
" margin-top: 0.2em;\n"
@@ -1149,13 +1149,6 @@ webkit_editor_update_styles (EContentEditor *editor)
" vertical-align: top;\n"
"}\n");
- g_string_append (
- stylesheet,
- "td > * "
- "{\n"
- " display : inline-block;\n"
- "}\n");
-
g_string_append_printf (
stylesheet,
"body[data-evo-plain-text] ul "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]