Skip to content

A self-hosted media server and file management system

fix: correct text wrapping on hover card

aminnausin5cc2448e9102
diff --git a/resources/js/components/cards/HoverCard.vue b/resources/js/components/cards/HoverCard.vue
index f458758e..b6f1619c 100644
--- a/resources/js/components/cards/HoverCard.vue
+++ b/resources/js/components/cards/HoverCard.vue
@@ -92,7 +92,7 @@ watch(
<slot name="content">
<div class="flex flex-col gap-2">
<h4 v-if="contentTitle">{{ contentTitle }}</h4>
- <p class="dark:text-neutral-400 text-pretty h-fit max-h-[50vh] w-full" v-if="content">{{ content }}</p>
+ <p class="dark:text-neutral-400 text-pretty whitespace-pre-wrap h-fit max-h-[50vh] w-full" v-if="content">{{ content }}</p>
</div>
</slot>
</div>