fix: adjust style

This commit is contained in:
GyDi 2023-03-16 19:32:59 +08:00
parent 94f647b24a
commit e7841c60df
No known key found for this signature in database
GPG Key ID: 9C3AD40F1F99880A
2 changed files with 2 additions and 4 deletions

View File

@ -110,11 +110,10 @@ const ConnectionsPage = () => {
title={t("Connections")} title={t("Connections")}
contentStyle={{ height: "100%" }} contentStyle={{ height: "100%" }}
header={ header={
<Box sx={{ mt: 1, display: "flex", alignItems: "center" }}> <Box sx={{ mt: 1, display: "flex", alignItems: "center", gap: 2 }}>
<IconButton <IconButton
color="inherit" color="inherit"
size="small" size="small"
sx={{ mr: 2 }}
onClick={() => onClick={() =>
setSetting((o) => setSetting((o) =>
o.layout === "list" o.layout === "list"

View File

@ -41,11 +41,10 @@ const LogPage = () => {
title={t("Logs")} title={t("Logs")}
contentStyle={{ height: "100%" }} contentStyle={{ height: "100%" }}
header={ header={
<Box sx={{ mt: 1, display: "flex", alignItems: "center" }}> <Box sx={{ mt: 1, display: "flex", alignItems: "center", gap: 2 }}>
<IconButton <IconButton
size="small" size="small"
color="inherit" color="inherit"
sx={{ mr: 2 }}
onClick={() => setEnableLog((e) => !e)} onClick={() => setEnableLog((e) => !e)}
> >
{enableLog ? ( {enableLog ? (