Skip to content

Commit 1710b8e

Browse files
committed
ui: add leading
1 parent 6f2e7d6 commit 1710b8e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/thread-sidebar/right-sidebar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ function ThreadItem({
225225
</div>
226226
<RenderJSONtoHTML
227227
content={JSON.parse(thread.content)}
228-
className="text-sm wrap-break-word prose dark:prose-invert max-w-none marker:text-primary"
228+
className="text-sm wrap-break-word prose dark:prose-invert leading-relaxed w-full marker:text-primary"
229229
/>
230230

231231
{thread.imageUrl && (
@@ -355,7 +355,7 @@ export function RightSidebar({
355355
</div>
356356
<RenderJSONtoHTML
357357
content={JSON.parse(data.parent.content)}
358-
className="text-sm wrap-break-word prose dark:prose-invert max-w-none marker:text-primary"
358+
className="text-sm wrap-break-word prose leading-relaxed dark:prose-invert max-w-[32ch] marker:text-primary"
359359
/>
360360

361361
{data.parent.imageUrl && (

0 commit comments

Comments
 (0)