From 4e6563d38dd4ac35ed3b7f0800f5115de5ce4c50 Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Fri, 10 Apr 2026 10:05:59 +0200 Subject: [PATCH] Move filter icon next to header text in all views --- src/components/ArticleDetails.tsx | 12 ++++++------ src/components/MatrixView.tsx | 8 ++++---- src/components/ProductDescriptions.tsx | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/components/ArticleDetails.tsx b/src/components/ArticleDetails.tsx index 6319f18..ca02db9 100644 --- a/src/components/ArticleDetails.tsx +++ b/src/components/ArticleDetails.tsx @@ -228,24 +228,24 @@ export function ArticleDetails({ data, onEdit, rowStatuses }: ArticleDetailsProp className="px-3 py-3 font-medium transition-colors select-none group relative border-r border-slate-700/30" style={{ width: columnWidths[col] || 'auto', minWidth: columnWidths[col] || 'auto' }} > -
-
handleSort(col)}> +
+ handleSort(col)}> {label} {sortCol === col && ( - sortDesc ? : + sortDesc ? : )} -
+
diff --git a/src/components/MatrixView.tsx b/src/components/MatrixView.tsx index 3dcc014..d31de37 100644 --- a/src/components/MatrixView.tsx +++ b/src/components/MatrixView.tsx @@ -197,8 +197,8 @@ export function MatrixView({ data, headers, rowStatuses }: MatrixViewProps) { key={index} className="px-4 py-3 font-medium border-b border-slate-700 transition-colors select-none group relative" > -
-
+ handleSort(index)} > @@ -206,14 +206,14 @@ export function MatrixView({ data, headers, rowStatuses }: MatrixViewProps) { {sortCol === index && ( sortDesc ? : )} -
+