diff --git a/src/renderer/src/App.tsx b/src/renderer/src/App.tsx index 4f68775..e25a488 100644 --- a/src/renderer/src/App.tsx +++ b/src/renderer/src/App.tsx @@ -21,8 +21,8 @@ import { CloudServerOutlined, CloudUploadOutlined, HistoryOutlined, - LeftOutlined, - RightOutlined, + MenuFoldOutlined, + MenuUnfoldOutlined, } from "@ant-design/icons"; import { createStyles } from "antd-style"; import zhCN from "antd/locale/zh_CN"; @@ -136,12 +136,13 @@ const useStyles = createStyles(({ token, css }) => ({ background: ${token.colorPrimary}; } `, - collapseButton: css` - position: fixed; - top: 50%; - transform: translateY(-50%); - z-index: 1000; - transition: left 0.2s; + siderCloseButton: css` + flex-shrink: 0; + `, + headerLeft: css` + display: flex; + align-items: center; + gap: 12px; `, })); @@ -217,6 +218,15 @@ const App: React.FC = () => { /> Kintone Manager + +