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:
parent
5e98c65c95
commit
40ea1c3cb9
2 changed files with 4 additions and 1 deletions
|
@ -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())) {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue