From 3d212979d9e0c6797f7edd9579794146bd8eb09b Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Tue, 17 Mar 2026 14:04:10 +0000 Subject: [PATCH] refactor(dashboard): move search box from filter bar to card header Reduces vertical space by eliminating the second row in the filter bar. Search input is now next to the "Comenzi" title, hidden on mobile. Co-Authored-By: Claude Opus 4.6 (1M context) --- api/app/static/css/style.css | 3 +-- api/app/templates/base.html | 2 +- api/app/templates/dashboard.html | 5 ++--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/api/app/static/css/style.css b/api/app/static/css/style.css index 81cc2d4..2d6b1e6 100644 --- a/api/app/static/css/style.css +++ b/api/app/static/css/style.css @@ -425,7 +425,6 @@ tr.mapping-deleted td { /* ── Search input ────────────────────────────────── */ .search-input { - margin-left: auto; padding: 0.375rem 0.75rem; border: 1px solid #d1d5db; border-radius: 0.375rem; @@ -706,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%; order: 99; } + .search-input { min-width: 0; width: 100%; } .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 e4147ee..80b40a4 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 b5932e1..63e3fb8 100644 --- a/api/app/templates/dashboard.html +++ b/api/app/templates/dashboard.html @@ -44,8 +44,9 @@
-
+
Comenzi +
@@ -75,8 +76,6 @@ - -