From 4a8cd53617ded10b77151f4d08ef53a5800abd43 Mon Sep 17 00:00:00 2001 From: xue jiahao Date: Thu, 12 Mar 2026 18:00:41 +0800 Subject: [PATCH] fix css --- src/renderer/src/App.tsx | 66 +++++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 31 deletions(-) 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 + +