Small font size debug info

pull/204/head
M66B 3 years ago
parent 5e98c65c95
commit 40ea1c3cb9

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

@ -1520,7 +1520,7 @@ public class Log {
sb.append(ex.toString()).append("\n").append(android.util.Log.getStackTraceString(ex)); sb.append(ex.toString()).append("\n").append(android.util.Log.getStackTraceString(ex));
if (log != null) if (log != null)
sb.append(log); 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; EntityMessage draft;

Loading…
Cancel
Save