Skip to content

Commit 4d0d6fa

Browse files
committed
Update MarkdownRenderer styles for improved list presentation
- Modified the unordered list to use outside padding for better alignment. - Removed left margin from list items to enhance overall layout consistency.
1 parent cb9f825 commit 4d0d6fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/markdown-renderer.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ export function MarkdownRenderer({ content }: MarkdownRendererProps) {
6161
),
6262
// Custom list styles
6363
ul: ({ children }) => (
64-
<ul className="list-disc list-inside mb-10 space-y-4 text-gray-300 text-lg">
64+
<ul className="list-disc list-outside mb-10 space-y-4 text-gray-300 text-lg pl-6">
6565
{children}
6666
</ul>
6767
),
6868
ol: ({ children }) => (
69-
<ol className="list-decimal list-inside mb-10 space-y-4 text-gray-300 text-lg">
69+
<ol className="list-decimal list-outside mb-10 space-y-4 text-gray-300 text-lg pl-6">
7070
{children}
7171
</ol>
7272
),
7373
li: ({ children }) => (
74-
<li className="text-gray-300 ml-4 leading-relaxed">
74+
<li className="text-gray-300 leading-relaxed">
7575
{children}
7676
</li>
7777
),

0 commit comments

Comments
 (0)