Skip to content

Commit 5cb366d

Browse files
committed
style: tab 样式
1 parent ef4ee8c commit 5cb366d

3 files changed

Lines changed: 15 additions & 7 deletions

File tree

chat2db-client/src/components/Iconfont/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ if (__ENV__ === 'local') {
99
/* 在线链接服务仅供平台体验和调试使用,平台不承诺服务的稳定性,企业客户需下载字体包自行发布使用并做好备份。 */
1010
@font-face {
1111
font-family: 'iconfont'; /* Project id 3633546 */
12-
src: url('//at.alicdn.com/t/c/font_3633546_72e0owin532.woff2?t=1691843170071') format('woff2'),
13-
url('//at.alicdn.com/t/c/font_3633546_72e0owin532.woff?t=1691843170071') format('woff'),
14-
url('//at.alicdn.com/t/c/font_3633546_72e0owin532.ttf?t=1691843170071') format('truetype');
12+
src: url('//at.alicdn.com/t/c/font_3633546_3p2ezsbklq9.woff2?t=1692415581018') format('woff2'),
13+
url('//at.alicdn.com/t/c/font_3633546_3p2ezsbklq9.woff?t=1692415581018') format('woff'),
14+
url('//at.alicdn.com/t/c/font_3633546_3p2ezsbklq9.ttf?t=1692415581018') format('truetype');
1515
}
1616
`;
1717
let style = document.createElement('style');

chat2db-client/src/components/Tabs/index.less

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,18 @@
5454
display: none;
5555
align-items: center;
5656
flex-shrink: 0;
57-
height: 20px;
58-
margin-left: 4px;
57+
height: 16px;
58+
padding: 0px 2px;
59+
margin-left: 2px;
60+
border-radius: 2px;
5961
cursor: pointer;
62+
color: var(--color-text-secondary);
6063
i {
6164
font-size: 12px;
6265
}
6366
&:hover {
6467
color: var(--color-primary);
68+
background-color: var(--color-hover-bg);
6569
}
6670
}
6771
&:hover {
@@ -99,14 +103,18 @@
99103
display: none;
100104
align-items: center;
101105
flex-shrink: 0;
102-
height: 20px;
106+
height: 16px;
107+
padding: 0px 2px;
103108
margin-left: 2px;
109+
border-radius: 2px;
110+
color: var(--color-text-secondary);
104111
cursor: pointer;
105112
i {
106113
font-size: 12px;
107114
}
108115
&:hover {
109116
color: var(--color-primary);
117+
background-color: var(--color-hover-bg);
110118
}
111119
}
112120
&:hover {

chat2db-client/src/constants/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const operationTypeConfig: {
4747
};
4848
} = {
4949
[OperationType.CONSOLE]: {
50-
icon: '\ue619'
50+
icon: '\uec83'
5151
},
5252
[OperationType.VIEW]: {
5353
icon: '\ue70c'

0 commit comments

Comments
 (0)