Skip to content

Commit

Permalink
fix:[#525] add break-words to torrent component tab
Browse files Browse the repository at this point in the history
  • Loading branch information
hungfnt committed Apr 22, 2024
1 parent 330c8eb commit 769a832
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/torrent/TorrentCommentTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</button>
</div>
<template v-if="!collapsed">
<div class="flex flex-col w-full h-full p-6 grow bg-base-100 rounded-2xl">
<div class="flex flex-col w-full h-full p-6 grow bg-base-100 rounded-2xl break-words">
<template v-if="torrent.comment">
<Markdown :source="torrent.comment" />
</template>
Expand Down
2 changes: 1 addition & 1 deletion components/torrent/TorrentCreatedByTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</button>
</div>
<template v-if="!collapsed">
<div class="flex flex-col w-full h-full p-6 grow bg-base-100 rounded-2xl">
<div class="flex flex-col w-full h-full p-6 grow bg-base-100 rounded-2xl break-words">
<template v-if="torrent.created_by">
<Markdown :source="torrent.created_by" />
</template>
Expand Down
2 changes: 1 addition & 1 deletion components/torrent/TorrentCreationDateTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</button>
</div>
<template v-if="!collapsed">
<div class="flex flex-col w-full h-full p-6 grow bg-base-100 rounded-2xl">
<div class="flex flex-col w-full h-full p-6 grow bg-base-100 rounded-2xl break-words">
<template v-if="torrent.creation_date">
{{ formattedDateFromTimestamp }}
</template>
Expand Down
2 changes: 1 addition & 1 deletion components/torrent/TorrentDescriptionTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</button>
</div>
<template v-if="!collapsed">
<div class="flex flex-col w-full h-full p-6 grow bg-base-100 rounded-2xl">
<div class="flex flex-col w-full h-full p-6 grow bg-base-100 rounded-2xl break-words">
<template v-if="torrent.description">
<Markdown :source="torrent.description" />
</template>
Expand Down
2 changes: 1 addition & 1 deletion components/torrent/TorrentEncodingTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</button>
</div>
<template v-if="!collapsed">
<div class="flex flex-col w-full h-full p-6 grow bg-base-100 rounded-2xl">
<div class="flex flex-col w-full h-full p-6 grow bg-base-100 rounded-2xl break-words">
<template v-if="torrent.encoding">
<Markdown :source="torrent.encoding" />
</template>
Expand Down

0 comments on commit 769a832

Please sign in to comment.