Styling changes

This commit is contained in:
Daniel Cojocea committed 2024-07-08 13:42:45 -04:00
1 parent f9ca58c00a
commit 475f7c69ae
7 files changed
+97 -26

No files matched your search

+9 -2
View File
@@ -8,8 +8,10 @@ import Button from "../../Components/Button";
import ServerStatus from "../../Components/Charts/Servers/ServerStatus";
import SearchTextField from "../../Components/TextFields/Search/SearchTextField";
import MonitorTable from "../../Components/MonitorTable";
import { useTheme } from "@emotion/react";
const Monitors = () => {
const theme = useTheme();
const navigate = useNavigate();
const monitorState = useSelector((state) => state.monitors);
const authState = useSelector((state) => state.auth);
@@ -25,7 +27,12 @@ const Monitors = () => {
const down = monitorState.monitors.length - up;
return (
<div className="monitors">
<div
className="monitors"
style={{
padding: `${theme.content.pY} ${theme.content.pX}`,
}}
>
<div className="monitors-bar">
<div className="monitors-bar-title">
Hello, {authState.user.firstname}
@@ -36,7 +43,7 @@ const Monitors = () => {
onClick={() => {
navigate("/monitors/create");
}}
sx={{ padding: "10px 20px", fontSize: "13px" }}
sx={{ padding: "6px 25px", fontSize: "13px" }}
/>
</div>