style: reduce editor block padding from 3rem to 2.25rem
- Update padding for paragraphs, headings, blockquotes, lists, tables, and code blocks - Change from 48px (3rem) to 36px (2.25rem) for better content density - Maintains responsive behavior with existing media queries 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
7abc1f3e63
commit
c9aeda2fab
1 changed files with 10 additions and 10 deletions
|
|
@ -12,8 +12,8 @@
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
padding-left: 3rem;
|
padding-left: 2.25rem;
|
||||||
padding-right: 3rem;
|
padding-right: 2.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tiptap p:last-child {
|
.tiptap p:last-child {
|
||||||
|
|
@ -47,8 +47,8 @@
|
||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
margin-bottom: 0.75rem;
|
margin-bottom: 0.75rem;
|
||||||
text-wrap: pretty;
|
text-wrap: pretty;
|
||||||
padding-left: 3rem;
|
padding-left: 2.25rem;
|
||||||
padding-right: 3rem;
|
padding-right: 2.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tiptap h1,
|
.tiptap h1,
|
||||||
|
|
@ -102,7 +102,7 @@
|
||||||
border-left: 0.5rem solid var(--blockquote-border);
|
border-left: 0.5rem solid var(--blockquote-border);
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
background-color: var(--code-bg);
|
background-color: var(--code-bg);
|
||||||
margin: 1rem 3rem;
|
margin: 1rem 2.25rem;
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.5rem 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -126,7 +126,7 @@
|
||||||
.tiptap hr {
|
.tiptap hr {
|
||||||
border: none;
|
border: none;
|
||||||
border-top: 1px solid var(--border-color);
|
border-top: 1px solid var(--border-color);
|
||||||
margin: 1rem 3rem;
|
margin: 1rem 2.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
|
|
@ -150,8 +150,8 @@
|
||||||
.tiptap ol {
|
.tiptap ol {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
margin-left: 3rem;
|
margin-left: 2.25rem;
|
||||||
margin-right: 3rem;
|
margin-right: 2.25rem;
|
||||||
padding-left: 1.5rem;
|
padding-left: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -355,7 +355,7 @@ input[type='checkbox'] {
|
||||||
|
|
||||||
/* Table Styling */
|
/* Table Styling */
|
||||||
.ProseMirror .tableWrapper {
|
.ProseMirror .tableWrapper {
|
||||||
margin: 0 3rem 1rem 3rem;
|
margin: 0 2.25rem 1rem 2.25rem;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
@ -542,7 +542,7 @@ input[type='checkbox'] {
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
margin: 0 3rem 1rem 3rem;
|
margin: 0 2.25rem 1rem 2.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue