Skip to content

Commit 1967ea1

Browse files
committed
(Permission Configuration): Select the data table, scroll the middle content area to the bottom, and keep a distance of 24px from the button bar.
1 parent 8eff699 commit 1967ea1

File tree

9 files changed

+14
-9
lines changed

9 files changed

+14
-9
lines changed

frontend/src/i18n/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,7 @@
595595
"welcome_message": "Welcome Message",
596596
"the_product_logo": "Welcome Message below the product logo",
597597
"screen_customization_supported": "Defaults to the SQLBot login screen; customization supported",
598+
"screen_customization_settings": "The default is the SQLBot platform interface, which supports custom settings",
598599
"platform_settings": "Platform Settings",
599600
"help_documentation": "Help Documentation",
600601
"show_about": "Show About",

frontend/src/i18n/zh-CN.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,7 @@
595595
"welcome_message": "欢迎语",
596596
"the_product_logo": "产品 Logo 下的 欢迎语",
597597
"screen_customization_supported": "默认为 SQLBot 登录界面,支持自定义设置",
598+
"screen_customization_settings": "默认为 SQLBot 平台界面,支持自定义设置",
598599
"platform_settings": "平台设置",
599600
"help_documentation": "帮助文档",
600601
"show_about": "显示关于",

frontend/src/views/chat/RecommendQuestion.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ defineExpose({ getRecommendQuestions, id: () => props.recordId, stop })
154154

155155
<template>
156156
<div v-if="computedQuestions.length > 0 || loading" class="recommend-questions">
157-
<div v-if="firstChat">{{ t('qa.guess_u_ask') }}</div>
157+
<div v-if="firstChat" style="margin-bottom: 8px">{{ t('qa.guess_u_ask') }}</div>
158158
<div v-else class="continue-ask">{{ t('qa.continue_to_ask') }}</div>
159159
<div v-if="loading">
160160
<el-button style="min-width: unset" type="primary" link loading />

frontend/src/views/chat/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ onMounted(() => {
963963
padding-top: 12px;
964964
padding-left: 12px;
965965
z-index: 10;
966-
background: #f8f9fa;
966+
background: transparent;
967967
line-height: 22px;
968968
font-size: 14px;
969969
font-weight: 400;
@@ -1103,7 +1103,7 @@ onMounted(() => {
11031103
.greeting-btn {
11041104
width: 100%;
11051105
height: 88px;
1106-
1106+
border-radius: 16px;
11071107
border-style: dashed;
11081108
11091109
.inner-icon {

frontend/src/views/ds/DataTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ const btnSelectClick = (val: any) => {
709709
align-items: center;
710710
min-height: 24px;
711711
.notes-in_table {
712-
max-width: 192px;
712+
max-width: 100%;
713713
display: -webkit-box;
714714
max-height: 66px;
715715
-webkit-box-orient: vertical;

frontend/src/views/ds/DatasourceForm.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,16 +873,17 @@ defineExpose({
873873
}
874874
}
875875
.select-data_table {
876+
padding-bottom: 24px;
876877
.title {
877878
font-weight: 500;
878879
font-size: 16px;
879880
line-height: 24px;
880881
margin: 0 0 16px 0;
881882
}
882883
.container {
883-
height: 524px;
884884
border: 1px solid #dee0e3;
885885
border-radius: 4px;
886+
overflow-y: auto;
886887
887888
.select-all {
888889
background: #f5f6f7;

frontend/src/views/system/appearance/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
</div>
180180
<div class="tips-page">
181181
{{
182-
t('system.screen_customization_supported', { msg: loginForm.name || 'SQLBot' })
182+
t('system.screen_customization_settings', { msg: loginForm.name || 'SQLBot' })
183183
}}
184184
</div>
185185
</div>

frontend/src/views/system/permission/index.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,8 @@ const columnRules = {
948948
.drawer-content {
949949
width: 800px;
950950
margin: 0 auto;
951-
height: calc(100% - 20px);
951+
height: calc(100% - 8px);
952+
overflow-y: auto;
952953
}
953954
954955
.drawer-content {
@@ -958,13 +959,14 @@ const columnRules = {
958959
}
959960
}
960961
.add-permission_form {
962+
margin-bottom: 0;
961963
.ed-form-item__label {
962964
width: 100%;
963965
padding-right: 0;
964966
}
965967
966968
.ed-form-item__content {
967-
padding-bottom: 100px;
969+
padding-bottom: 0px;
968970
}
969971
970972
.table-content {
@@ -975,7 +977,6 @@ const columnRules = {
975977
border-bottom: none;
976978
border-radius: 6px;
977979
overflow-y: auto;
978-
max-height: calc(100vh - 400px);
979980
980981
&.border-bottom {
981982
border-bottom: 1px solid #1f232926;

frontend/src/views/system/workspace/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,7 @@ const handleCurrentChange = (val: number) => {
582582
align-items: center;
583583
justify-content: space-between;
584584
padding: 8px;
585+
font-weight: 500;
585586
586587
.ed-icon {
587588
cursor: pointer;

0 commit comments

Comments
 (0)