Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

fix: make result tabs scrollable when many queries executed (closes #245)

t8y2c28820ef48cd
diff --git a/src/components/layout/ContentArea.vue b/src/components/layout/ContentArea.vue
index ecfbaff790..77fbdef3cf 100644
--- a/src/components/layout/ContentArea.vue
+++ b/src/components/layout/ContentArea.vue
@@ -205,7 +205,8 @@ function onHandleCloseColumnPanel() {
activeTab.isExecuting ||
activeTab.isExplaining
"
- class="h-8 shrink-0 border-b bg-muted/20 px-2 flex items-center gap-1"
+ class="h-8 shrink-0 border-b bg-muted/20 px-2 flex items-center gap-1 overflow-x-auto"
+ style="scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch"
>
<Button
size="sm"
@@ -223,7 +224,7 @@ function onHandleCloseColumnPanel() {
:key="rIdx"
size="sm"
:variant="activeTab.activeResultIndex === rIdx ? 'default' : 'ghost'"
- class="h-6 px-2 text-xs"
+ class="h-6 px-2 text-xs shrink-0"
@click="queryStore.setActiveResultIndex(activeTab.id, rIdx)"
>
{{ t("tabs.resultN", { n: rIdx + 1 }) }}