feat(odin): use the full page (full width + taller shell)

Drop the 1100px max-width cap and size the chat shell to fill the content
area (100dvh - 100px = top bar + main bottom padding), so Odin uses the whole
page now that it owns the route.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
BOHA
2026-06-08 19:51:23 +02:00
parent ac7c220bb1
commit d62abe81fd
2 changed files with 2 additions and 5 deletions

View File

@@ -373,7 +373,7 @@ export default function OdinChat() {
return ( return (
<Box <Box
sx={{ sx={{
height: "calc(100dvh - 140px)", height: "calc(100dvh - 100px)",
display: "flex", display: "flex",
flexDirection: "column", flexDirection: "column",
gap: 1.5, gap: 1.5,

View File

@@ -1,4 +1,3 @@
import Box from "@mui/material/Box";
import Typography from "@mui/material/Typography"; import Typography from "@mui/material/Typography";
import { PageEnter } from "../ui"; import { PageEnter } from "../ui";
import { useAuth } from "../context/AuthContext"; import { useAuth } from "../context/AuthContext";
@@ -19,9 +18,7 @@ export default function Odin() {
return ( return (
<PageEnter> <PageEnter>
<Box sx={{ maxWidth: 1100, mx: "auto" }}> <OdinChat />
<OdinChat />
</Box>
</PageEnter> </PageEnter>
); );
} }