1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 02:37:16 +00:00

Small font size debug info

This commit is contained in:
M66B 2021-08-15 21:28:33 +02:00
parent 5e98c65c95
commit 40ea1c3cb9
2 changed files with 4 additions and 1 deletions

View file

@ -552,6 +552,9 @@ public class HtmlHelper {
// Element style
style = mergeStyles(style, element.attr("style"));
if ("fairemail_debug_info".equals(clazz))
style = mergeStyles(style, "font-size: smaller");
if (text_align) {
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center
if ("center".equals(element.tagName())) {

View file

@ -1520,7 +1520,7 @@ public class Log {
sb.append(ex.toString()).append("\n").append(android.util.Log.getStackTraceString(ex));
if (log != null)
sb.append(log);
String body = "<pre>" + TextUtils.htmlEncode(sb.toString()) + "</pre>";
String body = "<pre class=\"fairemail_debug_info\">" + TextUtils.htmlEncode(sb.toString()) + "</pre>";
EntityMessage draft;