Skip to content

Commit 94b3a0d

Browse files
committed
fix: Style optimization
1 parent 28ff1c9 commit 94b3a0d

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

frontend/src/views/chat/QuickQuestion.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ const props = withDefaults(
185185
top: 30px;
186186
right: 4px;
187187
z-index: 1;
188+
&:hover {
189+
background-color: #1f23291a !important;
190+
}
188191
}
189192
190193
.tool-btn {

frontend/src/views/ds/DataTable.vue

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,17 @@ const btnSelectClick = (val: any) => {
381381
<div class="select-table_top">
382382
{{ $t('ds.tables') }}
383383

384-
<el-tooltip effect="dark" :content="$t('ds.form.choose_tables')" placement="top">
385-
<el-icon size="18" @click="handleSelectTableList">
386-
<icon_form_outlined></icon_form_outlined>
387-
</el-icon>
384+
<el-tooltip
385+
effect="dark"
386+
offset="10"
387+
:content="$t('ds.form.choose_tables')"
388+
placement="top"
389+
>
390+
<el-button style="margin-right: -4px" @click="handleSelectTableList" text>
391+
<el-icon size="18">
392+
<icon_form_outlined></icon_form_outlined>
393+
</el-icon>
394+
</el-button>
388395
</el-tooltip>
389396
</div>
390397
<el-input
@@ -782,6 +789,10 @@ const btnSelectClick = (val: any) => {
782789
border-radius: 4px;
783790
cursor: pointer;
784791
792+
&:not(:last-child) {
793+
margin-bottom: 2px;
794+
}
795+
785796
&.disabled-table {
786797
background: #dee0e3 !important;
787798
color: #646a73;

0 commit comments

Comments
 (0)