Skip to content

Commit fdbc456

Browse files
committed
style: Update chat history tree styles to improve alignment and height for better visual consistency
1 parent 89f6403 commit fdbc456

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/renderer/src/components/layout/sidebar_items/chat/tree-styles.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33
}
44

55
/* Ant Design Tree 样式覆盖 */
6+
.chat-history-tree .ant-tree-switcher {
7+
align-self: center;
8+
}
69
.chat-history-tree .ant-tree-treenode {
710
width: 100%;
11+
align-items: center;
812
}
913

1014
.chat-history-tree .ant-tree-node-content-wrapper {
1115
flex: 1;
1216
min-width: 0;
13-
overflow: hidden;
1417
}
1518

1619
.chat-history-tree .ant-tree-title {
@@ -37,6 +40,7 @@
3740
min-width: 0;
3841
gap: 8px;
3942
overflow: hidden;
43+
height: 24px;
4044
}
4145

4246
.tree-node-title {

0 commit comments

Comments
 (0)