mirror of
https://github.com/schroinerxy/cloud-mail.git
synced 2026-06-21 19:35:50 +08:00
邮件内容样式优化
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user