From 69a30885799a959c0674646bb8944532fca20041 Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Tue, 17 Mar 2026 16:08:58 +0000 Subject: [PATCH] refactor(dashboard): move search box to filter bar after period dropdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Search was hidden in card header — now inline with filters for better discoverability. Compact refresh button to icon-only. On mobile, search and period dropdown share the same row via flex. Co-Authored-By: Claude Opus 4.6 (1M context) --- api/app/static/css/style.css | 4 ++-- api/app/templates/base.html | 2 +- api/app/templates/dashboard.html | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/app/static/css/style.css b/api/app/static/css/style.css index 2d6b1e6..31f0b8a 100644 --- a/api/app/static/css/style.css +++ b/api/app/static/css/style.css @@ -430,7 +430,7 @@ tr.mapping-deleted td { border-radius: 0.375rem; font-size: 0.9375rem; outline: none; - min-width: 180px; + width: 160px; } .search-input:focus { border-color: var(--blue-600); } @@ -705,7 +705,7 @@ tr.mapping-deleted td { gap: 0.375rem; } .filter-pill { padding: 0.25rem 0.5rem; font-size: 0.8125rem; } - .search-input { min-width: 0; width: 100%; } + .search-input { min-width: 0; width: auto; flex: 1; } .page-btn.page-number { display: none; } .page-btn.page-ellipsis { display: none; } .table-responsive { display: none; } diff --git a/api/app/templates/base.html b/api/app/templates/base.html index 80b40a4..b4f5ea4 100644 --- a/api/app/templates/base.html +++ b/api/app/templates/base.html @@ -7,7 +7,7 @@ {% set rp = request.scope.get('root_path', '') %} - + diff --git a/api/app/templates/dashboard.html b/api/app/templates/dashboard.html index 63e3fb8..476cfc8 100644 --- a/api/app/templates/dashboard.html +++ b/api/app/templates/dashboard.html @@ -44,9 +44,8 @@
-
+
Comenzi -
@@ -67,6 +66,7 @@
+ @@ -75,7 +75,7 @@ - +