Skip to content

Commit 983ac9e

Browse files
committed
feat: 调整memo推送字体
1 parent b39decd commit 983ac9e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/server/src/services/channels/daily-content.generator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class DailyContentGenerator implements ContentGenerator {
5454
const createdAt = memo.createdAt
5555
? new Date(memo.createdAt).toLocaleDateString('zh-CN')
5656
: '';
57-
return `<div style="margin-bottom: 16px; padding: 12px; background: #f5f5f5; border-radius: 8px;"><p style="color: #999; font-size: 16px; margin: 0 0 8px 0;">${createdAt}</p><p style="margin: 0; font-size: 16px; line-height: 1.6;">${this.escapeHtml(content)}</p></div>`;
57+
return `<div style="margin-bottom: 16px; padding: 12px; background: #f5f5f5; border-radius: 8px;"><p style="color: #999; font-size: 26px; margin: 0 0 8px 0;">${createdAt}</p><p style="margin: 0; font-size: 36px; line-height: 1.6;">${this.escapeHtml(content)}</p></div>`;
5858
})
5959
.join('');
6060

@@ -101,7 +101,7 @@ export class DailyContentGenerator implements ContentGenerator {
101101
})
102102
: '';
103103

104-
return `<div style="margin-bottom: 12px; padding: 8px; background: #f5f5f5; border-radius: 6px;"><p style="color: #999; font-size: 16px; margin: 0 0 4px 0;">${createdAt}</p><p style="margin: 0;">${this.escapeHtml(content)}</p></div>`;
104+
return `<div style="margin-bottom: 12px; padding: 8px; background: #f5f5f5; border-radius: 6px;"><p style="color: #999; font-size: 26px; margin: 0 0 4px 0;">${createdAt}</p><p style="margin: 0;">${this.escapeHtml(content)}</p></div>`;
105105
})
106106
.join('');
107107

0 commit comments

Comments
 (0)