浏览代码

chore: Adjust style

WhizPanda 1 年之前
父节点
当前提交
290a024a9e
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      src/components/layout/layout-item.tsx

+ 5 - 5
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 {