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
+6 -1
View File
@@ -231,4 +231,9 @@ h3.ce-header {
.ce-inline-tool:hover {
color: var(--popover-foreground) !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 (
<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
key={entity.id}
doc={entity.content}