Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Commit 7d04406

Browse files
committed
fix: multiline tweet display style
1 parent df6db78 commit 7d04406

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Notes.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
class="text-gray-400 leading-7"
4444
v-if="note.body?.mime_type === 'text/markdown'"
4545
v-html="md.render(note.body!.content!)"
46-
></div>
47-
<div class="note-body" v-else>
46+
/>
47+
<div class="note-body whitespace-pre" v-else>
4848
{{ note.body?.content || note.summary?.content }}
4949
</div>
5050
<el-row :gutter="20">

0 commit comments

Comments
 (0)