Skip to content

Commit a1681fe

Browse files
perf: 部分线条样式优化(#105) (#139)
1 parent 0e4ab4f commit a1681fe

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

apps/application/template/embed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ function initMaxkbStyle(root){
247247
#maxkb #maxkb-chat-container{
248248
z-index:10000;position: relative;
249249
border-radius: 8px;
250-
border: 1px solid var(--N300, #DEE0E3);
250+
border: 1px solid #ffffff;
251251
background: linear-gradient(188deg, rgba(235, 241, 255, 0.20) 39.6%, rgba(231, 249, 255, 0.20) 94.3%), #EFF0F1;
252252
box-shadow: 0px 4px 8px 0px rgba(31, 35, 41, 0.10);
253253
position: fixed;bottom: 20px;right: 45px;overflow: hidden;

ui/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99
</head>
1010
<body>
1111
<div id="app"></div>
12+
13+
<script
14+
async
15+
defer
16+
src="http://localhost:3000/api/application/embed?protocol=http&host=localhost:3000&token=35d833ff707d494e">
17+
</script>
18+
1219
<script type="module" src="/src/main.ts"></script>
1320
</body>
1421
</html>

ui/src/layout/components/top-bar/index.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,24 @@
1414
<el-tooltip effect="dark" content="项目地址" placement="top">
1515
<AppIcon
1616
iconName="app-github"
17-
class="cursor mr-16 ml-8"
18-
style="font-size: 24px"
17+
class="cursor color-secondary mr-8 ml-8"
18+
style="font-size: 20px"
1919
@click="toUrl('https://github.com/1Panel-dev/MaxKB')"
2020
></AppIcon>
2121
</el-tooltip>
2222
<el-tooltip effect="dark" content="用户手册" placement="top">
2323
<AppIcon
2424
iconName="app-reading"
25-
class="cursor mr-16 ml-8"
26-
style="font-size: 24px"
25+
class="cursor color-secondary mr-8 ml-8"
26+
style="font-size: 20px"
2727
@click="toUrl('https://github.com/1Panel-dev/MaxKB/wiki')"
2828
></AppIcon>
2929
</el-tooltip>
3030
<el-tooltip effect="dark" content="论坛求助" placement="top">
3131
<AppIcon
3232
iconName="app-help"
33-
class="cursor mr-16 ml-8"
34-
style="font-size: 24px"
33+
class="cursor color-secondary mr-16 ml-8"
34+
style="font-size: 20px"
3535
@click="toUrl('https://bbs.fit2cloud.com/c/mk/11')"
3636
></AppIcon>
3737
</el-tooltip>

ui/src/views/chat/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ onMounted(() => {
7070
height: var(--app-header-height);
7171
line-height: var(--app-header-height);
7272
box-sizing: border-box;
73-
border-bottom: 1px solid rgba(31, 35, 41, 0.15);
73+
border-bottom: 1px solid var(--el-border-color);
7474
}
7575
&__main {
7676
padding-top: calc(var(--app-header-height) + 24px);

0 commit comments

Comments
 (0)