Adjust styles

This commit is contained in:
MystiPanda
2024-03-10 11:12:54 +08:00
parent c0df368dc6
commit a5aec2d9fa
11 changed files with 73 additions and 36 deletions

View File

@@ -125,7 +125,7 @@ const ConnectionsPage = () => {
title={t("Connections")}
contentStyle={{ height: "100%" }}
header={
<Box sx={{ mt: 1, display: "flex", alignItems: "center", gap: 2 }}>
<Box sx={{ display: "flex", alignItems: "center", gap: 2 }}>
<Box sx={{ mx: 1 }}>Download: {parseTraffic(download)}</Box>
<Box sx={{ mx: 1 }}>Upload: {parseTraffic(upload)}</Box>
<IconButton

View File

@@ -42,7 +42,7 @@ const LogPage = () => {
title={t("Logs")}
contentStyle={{ height: "100%" }}
header={
<Box sx={{ mt: 1, display: "flex", alignItems: "center", gap: 2 }}>
<Box sx={{ display: "flex", alignItems: "center", gap: 2 }}>
<IconButton
size="small"
color="inherit"

View File

@@ -240,7 +240,7 @@ const ProfilePage = () => {
<BasePage
title={t("Profiles")}
header={
<Box sx={{ mt: 1, display: "flex", alignItems: "center", gap: 1 }}>
<Box sx={{ display: "flex", alignItems: "center", gap: 1 }}>
<IconButton
size="small"
color="inherit"

View File

@@ -113,7 +113,7 @@ const TestPage = () => {
<BasePage
title={t("Test")}
header={
<Box sx={{ mt: 1, display: "flex", alignItems: "center", gap: 1 }}>
<Box sx={{ display: "flex", alignItems: "center", gap: 1 }}>
<Button
variant="contained"
size="small"