HTML Notification - Adjusting font to rem size

This commit is contained in:
dgtlmoon
2025-10-28 21:51:55 +01:00
parent ae532c82e8
commit 7dbd0b75b2

View File

@@ -35,7 +35,7 @@ def as_monospaced_html_email(content: str, title: str) -> str:
</head>
<body style="-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;">
<pre role="article" aria-roledescription="email" lang="en"
style="font-family: monospace, 'Courier New', Courier; font-size: 0.8em;
style="font-family: monospace, 'Courier New', Courier; font-size: 0.9rem;
white-space: pre-wrap; word-break: break-word;">{content}</pre>
</body>
</html>"""