fix(base): left-align full-page base title with the table below

This commit is contained in:
Philipinho
2026-04-27 05:04:38 +01:00
parent d476d0b8ba
commit 9eee7bc12c
+3 -3
View File
@@ -11,7 +11,7 @@ import { useTranslation } from "react-i18next";
import React from "react"; import React from "react";
import { EmptyState } from "@/components/ui/empty-state.tsx"; import { EmptyState } from "@/components/ui/empty-state.tsx";
import { IconAlertTriangle, IconFileOff } from "@tabler/icons-react"; import { IconAlertTriangle, IconFileOff } from "@tabler/icons-react";
import { Button, Container } from "@mantine/core"; import { Button } from "@mantine/core";
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";
import { ErrorBoundary } from "react-error-boundary"; import { ErrorBoundary } from "react-error-boundary";
import { BaseTable } from "@/features/base/components/base-table"; import { BaseTable } from "@/features/base/components/base-table";
@@ -109,7 +109,7 @@ function PageContent({ pageSlug }: { pageSlug: string | undefined }) {
<title>{`${page?.icon || ""} ${page?.title || t("untitled")}`}</title> <title>{`${page?.icon || ""} ${page?.title || t("untitled")}`}</title>
</Helmet> </Helmet>
<MemoizedPageHeader readOnly={!canEdit} /> <MemoizedPageHeader readOnly={!canEdit} />
<Container size={900} pt={32} pb="sm" w="100%"> <div style={{ padding: "32px 8px 8px" }}>
<MemoizedTitleEditor <MemoizedTitleEditor
pageId={page.id} pageId={page.id}
slugId={page.slugId} slugId={page.slugId}
@@ -117,7 +117,7 @@ function PageContent({ pageSlug }: { pageSlug: string | undefined }) {
spaceSlug={page.space?.slug ?? ""} spaceSlug={page.space?.slug ?? ""}
editable={canEdit} editable={canEdit}
/> />
</Container> </div>
<div <div
style={{ style={{
flex: 1, flex: 1,