Skip to content

Commit 9c2cad5

Browse files
committed
feat: Optimize style
1 parent 8ed8429 commit 9c2cad5

8 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/release_test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ jobs:
237237
cd chat2db-client/versions/99.0.${{ github.run_id }}/static/ && zip -r chat2db-server-start.zip ./
238238
cp -r chat2db-server-start.zip ../../../../oss_temp_file
239239
240-
241240
# 准备要需要的数据 MacOS arm64
242241
- name: Prepare upload for MacOS arm64
243242
if: ${{ runner.os == 'macOS' && matrix.arch == 'arm64' }}
@@ -250,7 +249,7 @@ jobs:
250249
if: runner.os == 'Linux'
251250
run: |
252251
mkdir oss_temp_file
253-
cp -r chat2db-client/release/*.dmg ./oss_temp_file
252+
cp -r chat2db-client/release/*.AppImage ./oss_temp_file
254253
255254
# 把文件上传到OSS 方便下载
256255
- name: Set up oss utils

chat2db-client/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,8 @@
114114
"maintainer": "Chat2DB, huanyueyaoqin@qq.com",
115115
"category": "Network;",
116116
"target": [
117-
"AppImage",
118-
"deb"
117+
"AppImage"
119118
]
120119
}
121120
}
122-
}
121+
}

chat2db-client/src/assets/font/iconfont.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
@font-face {
22
font-family: "iconfont"; /* Project id 3633546 */
3-
src: url('iconfont.woff2?t=1689773424663') format('woff2'),
4-
url('iconfont.woff?t=1689773424663') format('woff'),
5-
url('iconfont.ttf?t=1689773424663') format('truetype');
3+
src: url('iconfont.woff2?t=1691316217339') format('woff2'),
4+
url('iconfont.woff?t=1691316217339') format('woff'),
5+
url('iconfont.ttf?t=1691316217339') format('truetype');
66
}
77

88
.iconfont {
@@ -13,6 +13,14 @@
1313
-moz-osx-font-smoothing: grayscale;
1414
}
1515

16+
.icon-huiche:before {
17+
content: "\e643";
18+
}
19+
20+
.icon-quesheng:before {
21+
content: "\e642";
22+
}
23+
1624
.icon-jinrujiantou:before {
1725
content: "\e88e";
1826
}
496 Bytes
Binary file not shown.
356 Bytes
Binary file not shown.
252 Bytes
Binary file not shown.

chat2db-client/src/components/Console/ChatInput/index.less

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,14 @@
3030
align-items: center;
3131
}
3232

33-
.enterIcon {
33+
.enter {
3434
width: 32px;
3535
height: 24px;
3636
padding: 0;
3737
margin-right: 16px;
38-
}
39-
.enterIcon:after {
40-
display: block;
41-
content: '\21B5';
42-
font-size: 12px;
43-
// color: var(--color-primary);
44-
// transform: translateY(-50%);
45-
46-
line-height: 100%;
47-
text-align: center;
48-
margin-top: 2px;
38+
.enterIcon {
39+
font-size: 12px;
40+
}
4941
}
5042

5143
.tableSelectBlock {

chat2db-client/src/components/Console/ChatInput/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,15 @@ function ChatInput(props: IProps) {
6666
<div className={styles.suffixBlock}>
6767
<Button
6868
type="primary"
69-
className={styles.enterIcon}
69+
className={styles.enter}
7070
onClick={() => {
7171
if (value) {
7272
props.onPressEnter && props.onPressEnter(value);
7373
}
7474
}}
75-
/>
75+
>
76+
<Iconfont code="&#xe643;" className={styles.enterIcon} />
77+
</Button>
7678
<div className={styles.tableSelectBlock}>
7779
<Popover content={renderSelectTable()} placement="bottom">
7880
<Iconfont code="&#xe618;" />

0 commit comments

Comments
 (0)