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。

style(tabbar): improve tooltip wrapping and layout

二丫讲梵b70d4153a438
diff --git a/apps/desktop/src/components/layout/EditorGroupTabBar.vue b/apps/desktop/src/components/layout/EditorGroupTabBar.vue
index ed10e545fd..7fc06e1508 100644
--- a/apps/desktop/src/components/layout/EditorGroupTabBar.vue
+++ b/apps/desktop/src/components/layout/EditorGroupTabBar.vue
@@ -1461,10 +1461,10 @@ watch([() => props.specialPageTabs?.settingsActive, () => props.specialPageTabs?
</button>
</div>
</TooltipTrigger>
- <TooltipContent :side="tabTooltipSide" class="text-xs grid grid-cols-[auto_1fr] gap-x-2">
+ <TooltipContent :side="tabTooltipSide" class="grid grid-cols-[auto_minmax(0,1fr)] items-start gap-x-2 text-xs">
<template v-for="line in tabTooltipLines(entry.tab, t)" :key="line.label">
- <span class="font-medium opacity-70">{{ line.label }}</span>
- <span>{{ line.value }}</span>
+ <span class="whitespace-nowrap font-medium opacity-70">{{ line.label }}</span>
+ <span class="min-w-0 break-all">{{ line.value }}</span>
</template>
</TooltipContent>
</Tooltip>