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(ui): improve panel resize and sidebar borders

t8y2bff03ed78a22
diff --git a/apps/desktop/src/components/editor/AiAssistant.vue b/apps/desktop/src/components/editor/AiAssistant.vue
index b5ad2fd90d..5daf723a4d 100644
--- a/apps/desktop/src/components/editor/AiAssistant.vue
+++ b/apps/desktop/src/components/editor/AiAssistant.vue
@@ -2945,14 +2945,27 @@ async function openExternalUrl(url: string) {
}
.resize-handle {
- height: 4px;
- width: 100%;
+ position: absolute;
+ top: -4px;
+ left: 0;
+ right: 0;
+ z-index: 1;
+ height: 9px;
cursor: ns-resize;
+}
+
+.resize-handle::before {
+ content: "";
+ position: absolute;
+ top: 3px;
+ left: 0;
+ right: 0;
+ height: 1px;
background-color: var(--border);
transition: background-color 0.15s ease;
}
-.resize-handle:hover {
+.resize-handle:hover::before {
background-color: color-mix(in srgb, var(--foreground) 20%, transparent);
}
</style>
diff --git a/apps/desktop/src/styles/globals.css b/apps/desktop/src/styles/globals.css
index 6e7cc04ca7..24d299544a 100644
--- a/apps/desktop/src/styles/globals.css
+++ b/apps/desktop/src/styles/globals.css
@@ -2088,9 +2088,6 @@ html.dbx-data-grid-native-selection-blocked [role="textbox"] * {
color: var(--sidebar-foreground);
background: var(--sidebar);
}
-.app-layout-classic > .app-sidebar-panel {
- border-right: 1px solid var(--sidebar-border);
-}
.app-sidebar-toolbar,
.connection-tree-search,
.sticky-database-header {