Skip to content

Commit f38ed77

Browse files
committed
refactor: adjust padding in MarkdownRenderer and DevlogDetails for improved layout consistency
1 parent feb3033 commit f38ed77

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/web/app/components/custom/MarkdownRenderer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,12 @@ export function MarkdownRenderer({
200200
</blockquote>
201201
),
202202
ul: ({ children }) => (
203-
<ul className="list-disc list-outside space-y-1 my-4 ml-6 text-foreground">
203+
<ul className="list-disc list-outside space-y-1 my-4 ml-4 text-foreground">
204204
{children}
205205
</ul>
206206
),
207207
ol: ({ children }) => (
208-
<ol className="list-decimal list-outside space-y-1 my-4 ml-6 text-foreground">
208+
<ol className="list-decimal list-outside space-y-1 my-4 ml-4 text-foreground">
209209
{children}
210210
</ol>
211211
),

packages/web/app/components/features/devlogs/DevlogDetails.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -570,11 +570,11 @@ export function DevlogDetails({
570570
<div
571571
key={note.id}
572572
className={cn(
573-
'border-l-4 border-primary/20 pl-4 py-3 transition-all duration-500',
573+
'border-l-4 border-primary/20 pl-4 py-1 transition-all duration-500',
574574
isNewNote && 'animate-in slide-in-from-top-2 duration-400 bg-primary/5',
575575
)}
576576
>
577-
<div className="flex items-center space-x-2 mb-3">
577+
<div className="flex items-center space-x-2 mb-4">
578578
{getCategoryIconRaw(note.category as NoteCategory)}
579579
<Badge variant="secondary" className="text-xs">
580580
{note.category}

0 commit comments

Comments
 (0)