From 33165c6d5af91e73c1e3800afac2c7fd9003e708 Mon Sep 17 00:00:00 2001 From: Edouard Vanbelle Date: Wed, 15 Apr 2026 22:17:13 +0200 Subject: [PATCH] feat(frontand/buttons): move multiselect into buttons = keep visible card/list selector --- static/css/components/multiSelect.css | 10 --- static/css/layout/content.css | 1 + static/index.html | 37 +--------- static/js/app/filesView.js | 1 + static/js/app/main.js | 89 +++++++++++++++---------- static/js/app/ui.js | 3 + static/js/features/files/multiSelect.js | 61 ++--------------- 7 files changed, 66 insertions(+), 136 deletions(-) diff --git a/static/css/components/multiSelect.css b/static/css/components/multiSelect.css index ec79657a..87961bff 100644 --- a/static/css/components/multiSelect.css +++ b/static/css/components/multiSelect.css @@ -37,15 +37,11 @@ .batch-selection-bar { display: flex; align-items: center; - justify-content: space-between; background: var(--color-multiselect-bg); color: var(--color-multiselect-text); padding: 10px 20px; border-radius: 12px; - margin: 0 0 12px; - height: 60px; overflow: hidden; - transform: translateY(-8px); transition: opacity 0.2s, max-height 0.25s, @@ -55,12 +51,6 @@ pointer-events: auto; } -.batch-bar-left { - display: flex; - align-items: center; - gap: 12px; -} - .batch-bar-close { background: none; border: none; diff --git a/static/css/layout/content.css b/static/css/layout/content.css index b48f32b0..17aeb3cf 100644 --- a/static/css/layout/content.css +++ b/static/css/layout/content.css @@ -49,6 +49,7 @@ .action-buttons { display: flex; + flex: auto; gap: 12px; } diff --git a/static/index.html b/static/index.html index b6b034cc..0a534fe3 100644 --- a/static/index.html +++ b/static/index.html @@ -214,42 +214,7 @@

Files

-
- -
-
- -
- - -
-
- -
- -
- - -
-
- +