handlePanelToggle('currentRole')}
>
👤
@@ -82,11 +82,11 @@ const Toolbar = () => {
handlePanelToggle('role')}
>
🎭
- 全局世界书
+ 角色管理
{truncateText(getDisplayText())}
diff --git a/frontend-react/src/index.css b/frontend-react/src/index.css
index ec6c2f2..9d5de85 100644
--- a/frontend-react/src/index.css
+++ b/frontend-react/src/index.css
@@ -1,76 +1,21 @@
-/* frontend-react/src/index.css */
-html, body {
- margin: 0;
- padding: 0;
- height: 100vh;
- width: 100%;
-}
-
-.app {
- height: 100%;
- display: flex;
- flex-direction: column;
-}
-
-#root {
- height: 100%;
- width: 100%;
- display: flex;
- flex-direction: column;
-}
-
-/* 重置样式 */
-* {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
-}
-
-html, body, .app {
- height: 100%;
- width: 100%;
- overflow: hidden;
-}
-
-.app {
- display: flex;
- flex-direction: column;
- height: 100%;
- width: 100%;
- overflow: hidden;
-}
-
-/* 主内容区域 */
-.main-container {
- flex: 1;
- display: flex;
- overflow: hidden;
-}
-
/* 左侧栏 */
.sidebar-left {
- width: 250px;
+ width: 22.5%; /* 修改为30% */
height: 100%;
overflow: hidden;
}
/* 中间聊天区域 */
.chat-area {
- flex: 1;
+ flex: 55%; /* 修改为0.4 */
height: 100%;
display: flex;
- flex-direction: column;
overflow: hidden;
}
/* 右侧栏 */
.sidebar-right {
- width: 300px;
+ width: 22.5%; /* 修改为30% */
height: 100%;
overflow: hidden;
}
-
-.toolbar {
- height: 60px;
- flex-shrink: 0;
-}