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。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix(ui): restore platform-native font rendering
t8y2af3a70802cb2
diff --git a/apps/desktop/src/styles/__tests__/fontRendering.spec.ts b/apps/desktop/src/styles/__tests__/fontRendering.spec.tsnew file mode 100644index 0000000000..3447f7f234--- /dev/null+++ b/apps/desktop/src/styles/__tests__/fontRendering.spec.ts@@ -0,0 +1,11 @@+import { readFileSync } from "node:fs";+import { describe, expect, it } from "vitest";++const globalsCss = readFileSync(new URL("../globals.css", import.meta.url), "utf8");++describe("global font rendering", () => {+ it("leaves font smoothing to the operating system", () => {+ expect(globalsCss).not.toContain("-webkit-font-smoothing");+ expect(globalsCss).not.toContain("-moz-osx-font-smoothing");+ });+});diff --git a/apps/desktop/src/styles/globals.css b/apps/desktop/src/styles/globals.cssindex d1a8afa4d7..9991268567 100644--- a/apps/desktop/src/styles/globals.css+++ b/apps/desktop/src/styles/globals.css@@ -1572,8 +1572,6 @@ html.dbx-data-grid-native-selection-blocked [role="textbox"] * {@apply font-sans bg-background text-foreground;text-rendering: geometricPrecision;font-synthesis: none;- -webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale;}button,[role="button"],