Unverified Commit f3521e37 authored by Lemon-miaow's avatar Lemon-miaow
Browse files

refactor(panel): uniform margins

parent 9d137879
Loading
Loading
Loading
Loading
+2 −0
Changes for panel/src/components/AppShell.tsx: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -122,7 +122,9 @@ export function AppShell() {
          </div>
        </header>
        <main className="flex-1 p-6">
          <div className="mx-auto max-w-7xl space-y-7">
            <Outlet />
          </div>
        </main>
      </div>
    </div>
+2 −2
Changes for panel/src/pages/Account.tsx: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ export function Account() {
  }

  return (
    <div className="mx-auto max-w-4xl space-y-6">
    <>
      <div>
        <h1 className="text-2xl font-semibold tracking-tight">{t("title")}</h1>
        <p className="text-sm text-muted-foreground">
@@ -119,7 +119,7 @@ export function Account() {
          )}
        </CardContent>
      </Card>
    </div>
    </>
  );
}

+2 −2
Changes for panel/src/pages/Dashboard.tsx: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ export function Dashboard() {
  const error = serversErr || linkErr || meErr;

  return (
    <div className="mx-auto max-w-6xl space-y-6">
    <>
      <div>
        <h1 className="text-2xl font-semibold tracking-tight">{t("title")}</h1>
        <p className="text-sm text-muted-foreground">{t("subtitle")}</p>
@@ -102,7 +102,7 @@ export function Dashboard() {
          isAdmin={!!identity?.is_admin}
        />
      )}
    </div>
    </>
  );
}

+2 −2
Changes for panel/src/pages/MyServers.tsx: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ export function MyServers() {
  const servers = data ?? [];

  return (
    <div className="mx-auto max-w-6xl space-y-6">
    <>
      <div>
        <h1 className="text-2xl font-semibold tracking-tight">{t("my_servers_title")}</h1>
        <p className="text-sm text-muted-foreground">
@@ -47,6 +47,6 @@ export function MyServers() {
          {t("my_servers_footer")}
        </CardContent>
      </Card>
    </div>
    </>
  );
}
+2 −2
Changes for panel/src/pages/ServerConsole.tsx: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ export function ServerConsole() {
  const streamable = data?.phase === "Running" || data?.phase === "Starting";

  return (
    <div className="mx-auto max-w-4xl space-y-6">
    <>
      <Link
        to="/servers"
        className="inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground"
@@ -143,6 +143,6 @@ export function ServerConsole() {
          </Card>
        </>
      ) : null}
    </div>
    </>
  );
}
Loading