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")}
contentStyle={{ height: "100%" }}
header={
<Box sx={{ mt: 1, display: "flex", alignItems: "center" }}>
<Box sx={{ mt: 1, display: "flex", alignItems: "center", gap: 2 }}>
<IconButton
color="inherit"
size="small"
sx={{ mr: 2 }}
onClick={() =>
setSetting((o) =>
o.layout === "list"

View File

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