From 0a0851e120ccd6e5572a0b6db39ac52c3b777437 Mon Sep 17 00:00:00 2001 From: ghassan Date: Tue, 28 Jul 2026 23:35:16 +0300 Subject: [PATCH] Fix unstyled playlist cards on /videos?filter=playlists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The base card CSS (.yt-video-card/.yt-video-thumb/.yt-video-info) lived inside video-card's @once +@endonce diff --git a/resources/views/components/playlist-card.blade.php b/resources/views/components/playlist-card.blade.php index c173dd8..a590be9 100644 --- a/resources/views/components/playlist-card.blade.php +++ b/resources/views/components/playlist-card.blade.php @@ -10,6 +10,11 @@ $plShuffleUrl = $firstVid ? route('playlists.shuffle', $pl->id) : null; @endphp +{{-- Playlist cards reuse .yt-video-card / .yt-video-thumb / .yt-video-info. That + CSS lives in this shared partial (also used by video-card) so it loads on + pages that show playlists but no videos, e.g. /videos?filter=playlists. --}} +@include('components.partials.card-styles') + @once -@endonce +@include('components.partials.card-styles') @once