邮件内容样式优化

This commit is contained in:
eoao
2025-09-27 00:22:00 +08:00
parent 3573f705c8
commit fe6356ff2b
4 changed files with 27 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/assets/*
Cache-Control: public, max-age=31556952, immutable
/tinymce/*
Cache-Control: public, max-age=31556952, immutable
Cache-Control: public, max-age=604800, immutable
+9
View File
@@ -7,6 +7,15 @@ img {
height: auto !important;
}
p {
margin: 0 !important;
}
a {
text-decoration: none;
color: #0E70DF;
}
body {
margin: 10px 8px 0 5px !important;
font-size: 14px;
+16 -1
View File
@@ -36,13 +36,28 @@ function updateContent() {
all: initial;
width: 100%;
height: 100%;
font-family: 'HarmonyOS', -apple-system, BlinkMacSystemFont,
font-family: Inter, -apple-system, BlinkMacSystemFont,
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
font-size: 14px;
line-height: 1.5;
color: #13181D;
word-break: break-word;
}
h1, h2, h3, h4 {
font-size: 18px;
font-weight: 700;
}
p {
margin: 0;
}
a {
text-decoration: none;
color: #0E70DF;
}
.shadow-content {
background: #FFFFFF;
width: fit-content;
+1 -2
View File
@@ -116,7 +116,6 @@ function toMessage(message) {
function formatImage(content) {
content = content || '';
const domain = settingStore.settings.r2Domain;
console.log(domain)
return content.replace(/{{domain}}/g, toOssDomain(domain) + '/');
}
@@ -409,4 +408,4 @@ const handleDelete = () => {
}
</style>
</style>