named volume

This commit is contained in:
HPL-JesusCastro
2026-05-23 01:41:25 +08:00
parent 6446609119
commit 3684460694
3 changed files with 6 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ export default function RichTextEditor({ content, onChange, placeholder }: Props
float: left;
height: 0;
}
.tiptap img { max-width: 100%; border-radius: 8px; margin: 8px 0; }
.tiptap img { max-width: 75%; border-radius: 8px; margin: 12px auto; display: block; }
.tiptap blockquote {
border-left: 3px solid var(--accent);
padding-left: 16px;

View File

@@ -229,7 +229,7 @@ button {
.letter-body p { margin-bottom: 1em; }
.letter-body p:empty::after,
.letter-body p:has(br:only-child)::after { content: "\00a0"; }
.letter-body img { max-width: 100%; border-radius: 8px; margin: 8px 0; }
.letter-body img { max-width: 75%; border-radius: 8px; margin: 12px auto; display: block; }
.letter-body blockquote {
border-left: 3px solid var(--accent);
padding-left: 16px;