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(docs): restore root layout tags

t8y28ef1999ec92d
diff --git a/docs/app/[lang]/layout.tsx b/docs/app/[lang]/layout.tsx
index 4443f5b8ad..c9dc2fde65 100644
--- a/docs/app/[lang]/layout.tsx
+++ b/docs/app/[lang]/layout.tsx
@@ -12,13 +12,9 @@ export default async function LangLayout({
const { lang } = await params;
return (
- <html lang={lang} className="dark" suppressHydrationWarning>
- <body className="flex min-h-screen flex-col">
- <RootProvider i18n={i18nUI.provider(lang)} theme={{ enabled: false }}>
- {children}
- </RootProvider>
- </body>
- </html>
+ <RootProvider i18n={i18nUI.provider(lang)} theme={{ enabled: false }}>
+ {children}
+ </RootProvider>
);
}
diff --git a/docs/app/global.css b/docs/app/global.css
index d6133811ed..45ee52ba44 100644
--- a/docs/app/global.css
+++ b/docs/app/global.css
@@ -870,6 +870,7 @@ a {
align-items: center;
justify-content: space-between;
gap: 22px;
+ max-width: calc(var(--landing-max) - 56px);
border: 1px solid rgba(155, 176, 205, 0.14);
border-radius: 10px;
padding-top: 28px;
@@ -902,6 +903,12 @@ a {
line-height: 1.65;
}
+.landing-section-heading p {
+ max-width: 650px;
+ justify-self: end;
+ text-align: right;
+}
+
.landing-inline-link {
flex-shrink: 0;
gap: 7px;
@@ -1434,6 +1441,11 @@ a {
display: block;
}
+ .landing-section-heading p {
+ max-width: none;
+ text-align: left;
+ }
+
.landing-inline-link {
margin-top: 16px;
}
diff --git a/docs/app/layout.tsx b/docs/app/layout.tsx
index 22dbf7c3ad..74a00d4803 100644
--- a/docs/app/layout.tsx
+++ b/docs/app/layout.tsx
@@ -15,5 +15,9 @@ export const metadata = {
};
export default function RootLayout({ children }: { children: ReactNode }) {
- return children;
+ return (
+ <html lang="en" className="dark" suppressHydrationWarning>
+ <body className="flex min-h-screen flex-col">{children}</body>
+ </html>
+ );
}