From 3b9c9acdeb5825ba3a1ab60143c6bdeb552c7923 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Fri, 28 Mar 2025 22:44:05 +0300 Subject: [PATCH] extends the improvements to download page. --- app/library/Utils.py | 2 +- ui/assets/css/style.css | 5 +++++ ui/components/EmbedPlayer.vue | 13 ++++++++++--- ui/components/History.vue | 4 ++-- ui/components/Queue.vue | 4 ++-- ui/components/VideoPlayer.vue | 5 +++-- ui/pages/browser/[...slug].vue | 9 +-------- 7 files changed, 24 insertions(+), 18 deletions(-) diff --git a/app/library/Utils.py b/app/library/Utils.py index 12ca271a..210d2ad4 100644 --- a/app/library/Utils.py +++ b/app/library/Utils.py @@ -540,7 +540,7 @@ def get_file_sidecar(file: pathlib.Path) -> list[dict]: @lru_cache(maxsize=512) -def get_possible_images(dir: str) -> list[str]: +def get_possible_images(dir: str) -> list[dict]: images = [] path_loc = pathlib.Path(dir, "test.jpg") diff --git a/ui/assets/css/style.css b/ui/assets/css/style.css index 264f0995..0867fd4b 100644 --- a/ui/assets/css/style.css +++ b/ui/assets/css/style.css @@ -281,3 +281,8 @@ hr { background-repeat: no-repeat; background-blend-mode: darken; } + +.is-unbounded-model { + max-height: unset !important; + width: unset !important; +} diff --git a/ui/components/EmbedPlayer.vue b/ui/components/EmbedPlayer.vue index 0b692a4e..ce22b216 100644 --- a/ui/components/EmbedPlayer.vue +++ b/ui/components/EmbedPlayer.vue @@ -1,9 +1,16 @@ +