From e82e7b1bf55a51df661a27fc7f40da1e46148e71 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Fri, 26 Sep 2025 00:57:58 +0300 Subject: [PATCH] fixing some issue with simple view --- ui/app/components/Settings.vue | 21 +++++----- ui/app/components/Simple.vue | 71 ++++++++++++++++++++++++++++------ 2 files changed, 70 insertions(+), 22 deletions(-) diff --git a/ui/app/components/Settings.vue b/ui/app/components/Settings.vue index 5bf506fe..b369780a 100644 --- a/ui/app/components/Settings.vue +++ b/ui/app/components/Settings.vue @@ -13,18 +13,17 @@
- +
- - +
+ + +

diff --git a/ui/app/components/Simple.vue b/ui/app/components/Simple.vue index 0f6090de..4cc28205 100644 --- a/ui/app/components/Simple.vue +++ b/ui/app/components/Simple.vue @@ -81,7 +81,7 @@ -

+

{{ entry.item.title }}

@@ -106,7 +106,7 @@

-
+
-
+
@@ -571,15 +571,27 @@ const filter_presets = (flag: boolean = true) => presets.value.filter(item => it box-shadow: 0 14px 30px rgba(10, 10, 10, 0.12); } +.queue-card .card-content { + display: flex; + flex-direction: column; + height: 100%; +} + + +.queue-card .media-left { + margin-right: 1rem; +} .queue-thumb { position: relative; - width: 9rem; + width: 12rem; + max-width: 100%; border-radius: 0.5rem; overflow: hidden; } .queue-thumb img { + display: block; width: 100%; height: 100%; object-fit: cover; @@ -595,31 +607,45 @@ const filter_presets = (flag: boolean = true) => presets.value.filter(item => it display: flex; align-items: center; justify-content: center; - background: rgba(0, 0, 0, 0.45); + background: rgba(0, 0, 0, 0); color: #fff; - opacity: 0; - transition: opacity 0.2s ease; + transition: background-color 0.2s ease; + pointer-events: none; } .queue-thumb.is-clickable:hover .queue-thumb__overlay { - opacity: 1; + background: rgba(0, 0, 0, 0.45); } .queue-title { - max-width: 18rem; - white-space: nowrap; + overflow: hidden; +} + +.queue-title a { + display: block; overflow: hidden; text-overflow: ellipsis; + white-space: nowrap; } .queue-description { max-height: 4.5rem; + min-height: 2.5rem; overflow: hidden; display: -webkit-box; line-clamp: 3; -webkit-line-clamp: 3; -webkit-box-orient: vertical; word-break: break-word; + overflow-wrap: anywhere; +} + +.queue-actions { + display: flex; + flex-wrap: wrap; + justify-content: flex-end; + gap: 0.5rem; + margin-top: auto; } .queue-fade-enter-active, @@ -653,9 +679,32 @@ const filter_presets = (flag: boolean = true) => presets.value.filter(item => it transform: translateY(18vh); } + .queue-card .media { + flex-direction: column; + align-items: flex-start; + } + + .queue-card .media-left { + margin-right: 0; + margin-bottom: 1rem; + width: 100%; + } + .queue-thumb { width: 100%; - max-width: 100%; + } + + .queue-card .media-content { + width: 100%; + } + + .queue-title { + width: 100%; + } + + .queue-actions { + width: 100%; + justify-content: flex-end; } }