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.
This commit is contained in:
Milan Crha
2018-06-28 17:36:52 +02:00
parent b9c5e4480b
commit d25bc8414e

View File

@ -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;",