From 290a024a9e8536d4c77e542efcead434d548706f Mon Sep 17 00:00:00 2001 From: WhizPanda Date: Sat, 2 Dec 2023 23:20:04 +0800 Subject: [PATCH] chore: Adjust style --- src/components/layout/layout-item.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/layout/layout-item.tsx b/src/components/layout/layout-item.tsx index ae505e62..5b9cdfe0 100644 --- a/src/components/layout/layout-item.tsx +++ b/src/components/layout/layout-item.tsx @@ -17,17 +17,17 @@ export const LayoutItem = (props: LinkProps) => { selected={!!match} sx={[ { - borderTopLeftRadius: 18, - borderBottomLeftRadius: 18, + borderRadius: 3, + marginLeft: 1, + marginRight: 1, textAlign: "center", "& .MuiListItemText-primary": { color: "text.secondary" }, }, ({ palette: { mode, primary } }) => { - /* const bgcolor = + const bgcolor = mode === "light" ? alpha(primary.main, 0.15) - : alpha(primary.main, 0.35); */ - const bgcolor = mode === "light" ? "#ffffff" : "#0E1621"; + : alpha(primary.main, 0.35); const color = mode === "light" ? primary.main : primary.light; return {