feat : update
This commit is contained in:
@@ -98,7 +98,7 @@ export function StructuredGuideShell({
|
||||
return (
|
||||
<div className="flex min-h-svh flex-col bg-background">
|
||||
<LiveRefresh endpoint={`/api/events/page/${guide.id}`} />
|
||||
<SiteHeader editHref={`/admin/${guide.characterKey}`} />
|
||||
<SiteHeader editHref={`/admin/${guide.characterKey}`} guideId={guide.id} />
|
||||
<div className="sticky top-0 z-40 bg-background/95 supports-backdrop-filter:backdrop-blur">
|
||||
<div className="mx-auto flex min-h-16 w-full max-w-7xl items-center gap-3 px-4 sm:px-6">
|
||||
<Link
|
||||
@@ -1275,7 +1275,7 @@ function ExtraSectionContent({
|
||||
<TableHeader>
|
||||
<TableRow>
|
||||
{row.sheet.columns.map((column) => (
|
||||
<TableHead key={column.id} className="whitespace-normal">
|
||||
<TableHead key={column.id} className="border-l first:border-l-0 whitespace-normal">
|
||||
{column.label}
|
||||
</TableHead>
|
||||
))}
|
||||
@@ -1285,8 +1285,8 @@ function ExtraSectionContent({
|
||||
{row.sheet.rows.map((sheetRow) => (
|
||||
<TableRow key={sheetRow.id}>
|
||||
{row.sheet!.columns.map((column) => (
|
||||
<TableCell key={column.id} className="whitespace-pre-wrap">
|
||||
{sheetRow.cells[column.id] ?? ""}
|
||||
<TableCell key={column.id} className="border-l first:border-l-0 whitespace-normal">
|
||||
<RichTextContent html={normalizeExtraRichText(sheetRow.cells[column.id] ?? "")} />
|
||||
</TableCell>
|
||||
))}
|
||||
</TableRow>
|
||||
|
||||
Reference in New Issue
Block a user