From 78b66771107d871448b65126b4bb1df35f8e37c8 Mon Sep 17 00:00:00 2001 From: Christian Bager Bach Houmann Date: Fri, 24 Feb 2023 07:27:15 +0100 Subject: [PATCH] fix: player thumbnail image now resizes to fit available space fix #67 --- src/ui/PodcastView/EpisodePlayer.svelte | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/ui/PodcastView/EpisodePlayer.svelte b/src/ui/PodcastView/EpisodePlayer.svelte index 49c0f61..d33ea46 100644 --- a/src/ui/PodcastView/EpisodePlayer.svelte +++ b/src/ui/PodcastView/EpisodePlayer.svelte @@ -286,12 +286,15 @@ :global(.episode-image-container) { width: 100%; height: auto; - padding: 5% 20%; + padding: 5% 0%; } :global(.hover-container) { - width: 15rem; - height: 15rem; + min-width: 10rem; + min-height: 10rem; + width: 100%; + height: 100%; + aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;