Working full width editor

This commit is contained in:
2026-02-28 00:02:23 +01:00
parent 13f6fe2c3f
commit 73b3182701
2 changed files with 8 additions and 2 deletions
+5
View File
@@ -232,3 +232,8 @@ h3.ce-header {
color: var(--popover-foreground) !important; color: var(--popover-foreground) !important;
background-color: var(--accent) !important; background-color: var(--accent) !important;
} }
.ce-block, .ce-block__content {
width: 100% !important;
max-width: 100% !important;
}
+2 -1
View File
@@ -104,7 +104,8 @@ export default function Router({
}; };
return ( return (
<div className="h-full w-3xl mx-auto bg-card rounded-2xl p-6 border"> <div className="h-full md:w-3xl xl:w-5xl mx-auto py-8 px-10 md:border-x">
<h1 className="text-5xl font-bold mb-7">{entity.name}</h1>
<DocView <DocView
key={entity.id} key={entity.id}
doc={entity.content} doc={entity.content}