fix: add break-word

This commit is contained in:
Xyphyn committed 2023-08-19 17:51:28 -07:00
1 parent 5ae9894ec5
commit 9df7dc0604
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -36,7 +36,8 @@
/> />
<a <a
href="/post/{getInstance()}/{post.post.id}" href="/post/{getInstance()}/{post.post.id}"
class="font-medium" class="font-medium max-w-full w-full break-words"
style="word-break: break-word;"
class:text-slate-500={post.read && $userSettings.markReadPosts} class:text-slate-500={post.read && $userSettings.markReadPosts}
class:dark:text-zinc-400={post.read && $userSettings.markReadPosts} class:dark:text-zinc-400={post.read && $userSettings.markReadPosts}
> >
@@ -146,6 +146,7 @@
<a <a
href={post.post_view.post.url} href={post.post_view.post.url}
class="max-w-full overflow-hidden overflow-ellipsis whitespace-nowrap text-sky-400 hover:underline text-xs" class="max-w-full overflow-hidden overflow-ellipsis whitespace-nowrap text-sky-400 hover:underline text-xs"
style="word-break: break-word;"
> >
{post.post_view.post.url} {post.post_view.post.url}
</a> </a>