From 471221fc478ab2cfb25914fea722f02710a169eb Mon Sep 17 00:00:00 2001 From: logan Date: Sat, 30 May 2026 01:56:17 +0800 Subject: [PATCH] =?UTF-8?q?style:=20Redis=E6=9F=A5=E8=AF=A2=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E5=B1=95=E7=A4=BA=E4=BC=98=E5=8C=96=20=E2=80=94=20?= =?UTF-8?q?=E5=88=97=E5=AE=BD=E5=8A=A0=E5=A4=A7/=E5=AD=97=E4=BD=9312px/raw?= =?UTF-8?q?=E5=8C=BA500px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/QueriesPage.tsx | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/QueriesPage.tsx b/frontend/src/pages/QueriesPage.tsx index 47f8f31..4a12421 100644 --- a/frontend/src/pages/QueriesPage.tsx +++ b/frontend/src/pages/QueriesPage.tsx @@ -506,7 +506,7 @@ export default function QueriesPage() {
{result.raw_key}
)}
-
#
                         {result.columns.map(col => (
                            handleSort(col)}
-                            className="text-left px-3 py-2 font-semibold text-xs cursor-pointer hover:text-blue-400 transition-colors select-none whitespace-nowrap">
+                            className={`text-left px-4 py-2 font-semibold text-xs cursor-pointer hover:text-blue-400 transition-colors select-none ${
+                              dbType === 'redis' ? 'min-w-[200px]' : 'whitespace-nowrap'
+                            }`}>
                             
{col} {result.masked_columns?.includes(col) && ( @@ -547,9 +549,15 @@ export default function QueriesPage() { const cellValue = row[col] ?? ''; const { text: displayText, isJson } = formatCellValue(cellValue); return ( - + {isMasked ? {String(cellValue)} : - isJson ? {displayText} : + isJson ? displayText : String(cellValue)} );