邮件内容样式优化
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/assets/*
|
/assets/*
|
||||||
Cache-Control: public, max-age=31556952, immutable
|
Cache-Control: public, max-age=31556952, immutable
|
||||||
/tinymce/*
|
/tinymce/*
|
||||||
Cache-Control: public, max-age=31556952, immutable
|
Cache-Control: public, max-age=604800, immutable
|
||||||
|
|||||||
@@ -7,6 +7,15 @@ img {
|
|||||||
height: auto !important;
|
height: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #0E70DF;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 10px 8px 0 5px !important;
|
margin: 10px 8px 0 5px !important;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|||||||
@@ -36,13 +36,28 @@ function updateContent() {
|
|||||||
all: initial;
|
all: initial;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-family: 'HarmonyOS', -apple-system, BlinkMacSystemFont,
|
font-family: Inter, -apple-system, BlinkMacSystemFont,
|
||||||
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
line-height: 1.5;
|
||||||
color: #13181D;
|
color: #13181D;
|
||||||
word-break: break-word;
|
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 {
|
.shadow-content {
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
|
|||||||
@@ -116,7 +116,6 @@ function toMessage(message) {
|
|||||||
function formatImage(content) {
|
function formatImage(content) {
|
||||||
content = content || '';
|
content = content || '';
|
||||||
const domain = settingStore.settings.r2Domain;
|
const domain = settingStore.settings.r2Domain;
|
||||||
console.log(domain)
|
|
||||||
return content.replace(/{{domain}}/g, toOssDomain(domain) + '/');
|
return content.replace(/{{domain}}/g, toOssDomain(domain) + '/');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user