mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-30 16:21:39 +00:00
fix: make result tabs scrollable when many queries executed (closes #245)
This commit is contained in:
@@ -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 }) }}
|
||||
|
||||
Reference in New Issue
Block a user