Sytle: UI improvement

This commit is contained in:
wonfen 2024-01-20 16:05:01 +08:00
parent 31c34ea158
commit 8781c5db8d
2 changed files with 8 additions and 1 deletions

View File

@ -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 } }}
/>
</Box>

View File

@ -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 },
}}
>
<MenuItem value="all">ALL</MenuItem>
<MenuItem value="inf">INFO</MenuItem>