Monospace font when displaying errors

This commit is contained in:
shortcutme 2019-10-06 03:15:57 +02:00
parent 0598bcf332
commit 9dd5c88da4
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -872,6 +872,9 @@ class UiRequest(object):
""" % (title, html.escape(message), html.escape(json.dumps(details, indent=4, sort_keys=True)))
else:
return """
<style>
* { font-family: Consolas, Monospace; color: #333; font-size: 100%%; }
</style>
<h1>%s</h1>
<h2>%s</h3>
""" % (title, html.escape(message))