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(editor): refine selection layer and cursor appearance

t8y27717eae5ffbe
diff --git a/apps/desktop/src/lib/editorThemes.ts b/apps/desktop/src/lib/editorThemes.ts
index 0df50a3d7b..1d3ea4778c 100644
--- a/apps/desktop/src/lib/editorThemes.ts
+++ b/apps/desktop/src/lib/editorThemes.ts
@@ -109,8 +109,15 @@ export function buildEditorFontThemeRules(
padding: "0 2px !important",
},
".cm-selectionLayer .cm-selectionBackground": {
- transform: "scaleY(1.55)",
- transformOrigin: "center",
+ display: "none",
+ },
+ ".cm-cursor": {
+ height: "1.6em !important",
+ transform: "translateY(-0.3em)",
+ },
+ ".cm-vscodeSelection": {
+ opacity: "0.38",
+ background: "rgb(148, 163, 184)",
},
".cm-gutters": {
borderRight: "0 !important",