Skip to content

perf: 部分线条样式优化(#105) #139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/application/template/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function initMaxkbStyle(root){
#maxkb #maxkb-chat-container{
z-index:10000;position: relative;
border-radius: 8px;
border: 1px solid var(--N300, #DEE0E3);
border: 1px solid #ffffff;
background: linear-gradient(188deg, rgba(235, 241, 255, 0.20) 39.6%, rgba(231, 249, 255, 0.20) 94.3%), #EFF0F1;
box-shadow: 0px 4px 8px 0px rgba(31, 35, 41, 0.10);
position: fixed;bottom: 20px;right: 45px;overflow: hidden;
Expand Down
7 changes: 7 additions & 0 deletions ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
</head>
<body>
<div id="app"></div>

<script
async
defer
src="http://localhost:3000/api/application/embed?protocol=http&host=localhost:3000&token=35d833ff707d494e">
</script>

<script type="module" src="/src/main.ts"></script>
</body>
</html>
12 changes: 6 additions & 6 deletions ui/src/layout/components/top-bar/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@
<el-tooltip effect="dark" content="项目地址" placement="top">
<AppIcon
iconName="app-github"
class="cursor mr-16 ml-8"
style="font-size: 24px"
class="cursor color-secondary mr-8 ml-8"
style="font-size: 20px"
@click="toUrl('https://github.com/1Panel-dev/MaxKB')"
></AppIcon>
</el-tooltip>
<el-tooltip effect="dark" content="用户手册" placement="top">
<AppIcon
iconName="app-reading"
class="cursor mr-16 ml-8"
style="font-size: 24px"
class="cursor color-secondary mr-8 ml-8"
style="font-size: 20px"
@click="toUrl('https://github.com/1Panel-dev/MaxKB/wiki')"
></AppIcon>
</el-tooltip>
<el-tooltip effect="dark" content="论坛求助" placement="top">
<AppIcon
iconName="app-help"
class="cursor mr-16 ml-8"
style="font-size: 24px"
class="cursor color-secondary mr-16 ml-8"
style="font-size: 20px"
@click="toUrl('https://bbs.fit2cloud.com/c/mk/11')"
></AppIcon>
</el-tooltip>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/views/chat/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ onMounted(() => {
height: var(--app-header-height);
line-height: var(--app-header-height);
box-sizing: border-box;
border-bottom: 1px solid rgba(31, 35, 41, 0.15);
border-bottom: 1px solid var(--el-border-color);
}
&__main {
padding-top: calc(var(--app-header-height) + 24px);
Expand Down
Loading