mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-17 19:20:39 +09:00
feat(ui): improve markdown typography with better paragraph spacing and line height
Increase paragraph margins, add line-height: 1.4 to paragraphs/lists/blockquotes, and bump inter-paragraph spacing in the MDXEditor for more readable markdown blocks. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e9ba0418c3
commit
5a5549fc54
2 changed files with 6 additions and 3 deletions
|
|
@ -306,10 +306,11 @@
|
|||
|
||||
.paperclip-mdxeditor-content p {
|
||||
margin: 0;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.paperclip-mdxeditor-content p + p {
|
||||
margin-top: 0.4rem;
|
||||
margin-top: 0.6rem;
|
||||
}
|
||||
|
||||
.paperclip-mdxeditor-content a.paperclip-project-mention-chip {
|
||||
|
|
@ -345,6 +346,7 @@
|
|||
.paperclip-mdxeditor-content li {
|
||||
display: list-item;
|
||||
margin: 0.15rem 0;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.paperclip-mdxeditor-content li::marker {
|
||||
|
|
@ -368,6 +370,7 @@
|
|||
padding-left: 0.7rem;
|
||||
border-left: 2px solid var(--border);
|
||||
color: var(--muted-foreground);
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.paperclip-mdxeditor-content code {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue