[evolution/gnome-3-28] Add 4px bottom margin to secure button table



commit 9352dbc66496ada15d37ffeb5b9142b526301607
Author: Milan Crha <mcrha redhat com>
Date:   Thu Jun 28 17:36:52 2018 +0200

    Add 4px bottom margin to secure button table
    
    This helps to distinguish when there's an inline signature/encrypted
    blob, which continues with some text. Without that the following text
    had been immediately below the secure button table, which looked like
    the below part is signed/encrypted, not the part above it.

 src/em-format/e-mail-formatter-secure-button.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/em-format/e-mail-formatter-secure-button.c b/src/em-format/e-mail-formatter-secure-button.c
index 11c3c572cc..2715566030 100644
--- a/src/em-format/e-mail-formatter-secure-button.c
+++ b/src/em-format/e-mail-formatter-secure-button.c
@@ -252,7 +252,7 @@ secure_button_format_validity (EMailPart *part,
                icon_height = 24;
        }
 
-       g_string_append (html, "<table width=\"100%\" style=\"vertical-align:middle;");
+       g_string_append (html, "<table width=\"100%\" style=\"margin-bottom:4px; vertical-align:middle;");
        if (validity->sign.status != CAMEL_CIPHER_VALIDITY_SIGN_NONE &&
            smime_sign_colour[info_index].alpha > 1e-9)
                g_string_append_printf (html, " background:#%06x;",


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