fixed message rendering with html content ( white background)

This commit is contained in:
ghostersk
2026-03-07 17:09:41 +00:00
parent 6df2de5f22
commit 0bcd974b3d
6 changed files with 104 additions and 11 deletions

View File

@@ -245,6 +245,8 @@
</div>
<div id="edit-conn-result" class="test-result" style="display:none"></div>
<div id="edit-last-error" style="display:none" class="alert error"></div>
<div class="settings-group-title" style="margin:16px 0 8px">Hidden Folders</div>
<div id="edit-hidden-folders" style="font-size:12px;color:var(--muted)">Loading…</div>
<div class="modal-actions">
<button class="modal-cancel" onclick="closeModal('edit-account-modal')">Cancel</button>
<button class="btn-secondary" id="edit-test-btn" onclick="testEditConnection()">Test Connection</button>
@@ -300,5 +302,5 @@
{{end}}
{{define "scripts"}}
<script src="/static/js/app.js?v=7"></script>
<script src="/static/js/app.js?v=9"></script>
{{end}}

View File

@@ -5,12 +5,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{block "title" .}}GoMail{{end}}</title>
<link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/static/css/gomail.css?v=7">
<link rel="stylesheet" href="/static/css/gomail.css?v=9">
{{block "head_extra" .}}{{end}}
</head>
<body class="{{block "body_class" .}}{{end}}">
{{block "body" .}}{{end}}
<script src="/static/js/gomail.js?v=7"></script>
<script src="/static/js/gomail.js?v=9"></script>
{{block "scripts" .}}{{end}}
</body>
</html>