From 8781c5db8df8f23f8375435bea563eeedd821f7c Mon Sep 17 00:00:00 2001 From: wonfen Date: Sat, 20 Jan 2024 16:05:01 +0800 Subject: [PATCH] Sytle: UI improvement --- src/pages/connections.tsx | 2 ++ src/pages/logs.tsx | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/pages/connections.tsx b/src/pages/connections.tsx index f6de2180..66e0bb13 100644 --- a/src/pages/connections.tsx +++ b/src/pages/connections.tsx @@ -172,6 +172,7 @@ const ConnectionsPage = () => { sx={{ mr: 1, width: i18n.language === "en" ? 190 : 120, + height: 33.375, '[role="button"]': { py: 0.65 }, }} > @@ -193,6 +194,7 @@ const ConnectionsPage = () => { placeholder={t("Filter conditions")} value={filterText} onChange={(e) => setFilterText(e.target.value)} + sx={{ input: { py: 0.65, px: 1.25 } }} /> diff --git a/src/pages/logs.tsx b/src/pages/logs.tsx index acd94861..9fcac1b7 100644 --- a/src/pages/logs.tsx +++ b/src/pages/logs.tsx @@ -80,7 +80,12 @@ const LogPage = () => { autoComplete="off" value={logState} onChange={(e) => setLogState(e.target.value)} - sx={{ width: 120, mr: 1, '[role="button"]': { py: 0.65 } }} + sx={{ + width: 120, + height: 33.375, + mr: 1, + '[role="button"]': { py: 0.65 }, + }} > ALL INFO