From 138a04bf7478b70ac6a2ff54518b76a6aed542ab Mon Sep 17 00:00:00 2001 From: ralf Date: Tue, 6 Sep 2022 15:41:15 +0200 Subject: [PATCH] * Mail: remove left (and right) margin of p and div, which can interact bad with the signature --- api/src/Etemplate/Widget/HtmlArea.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/api/src/Etemplate/Widget/HtmlArea.php b/api/src/Etemplate/Widget/HtmlArea.php index 3fa18f64a7..43add50127 100644 --- a/api/src/Etemplate/Widget/HtmlArea.php +++ b/api/src/Etemplate/Widget/HtmlArea.php @@ -203,10 +203,13 @@ class HtmlArea extends Etemplate\Widget * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ */ - body, p, div { +body, p, div { font-family: $font_family; font-size: $font_size; line-height: 1.4; + margin: 1rem 0; +} +body { margin: 1rem; } table { @@ -271,7 +274,7 @@ fieldset { border-right: none; font-family: $font_family; font-size: $font_size; - margin: .5rem 0 .5rem 0; + margin: .5rem 0; } /* EGroupware users preferred font and -size */ h1:not([style*="font-family"]),h2:not([style*="font-family"]),h3:not([style*="font-family"]),h4:not([style*="font-family"]),h5:not([style*="font-family"]),h6:not([style*="font-family"]),