Skip to content

A self-hosted media server and file management system

fix: text and tags wrap on og preview

aminnausin1c165e7c5e94
diff --git a/resources/views/og-media-preview.blade.php b/resources/views/og-media-preview.blade.php
index 092725ed..3dd23508 100644
--- a/resources/views/og-media-preview.blade.php
+++ b/resources/views/og-media-preview.blade.php
@@ -34,9 +34,9 @@
</span>
<div class="flex items-center gap-3">
- <div class="flex overflow-hidden w-full gap-3">
+ <div class="flex overflow-hidden w-full gap-3 flex-wrap h-9 [overflow-clip-margin:4px]">
@foreach (collect($tags ?? ['no tags yet'])->take(5) as $tag)
- <span class="bg-white/10 px-3 py-1 rounded-full ">{{ $tag }}</span>
+ <span class="bg-white/10 px-3 py-1 rounded-full text-nowrap">{{ $tag }}</span>
@endforeach
</div>
@if ($upload_date ?? false)