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:
@@ -373,7 +373,7 @@ export default function OdinChat() {
|
||||
return (
|
||||
<Box
|
||||
sx={{
|
||||
height: "calc(100dvh - 140px)",
|
||||
height: "calc(100dvh - 100px)",
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
gap: 1.5,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import Box from "@mui/material/Box";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import { PageEnter } from "../ui";
|
||||
import { useAuth } from "../context/AuthContext";
|
||||
@@ -19,9 +18,7 @@ export default function Odin() {
|
||||
|
||||
return (
|
||||
<PageEnter>
|
||||
<Box sx={{ maxWidth: 1100, mx: "auto" }}>
|
||||
<OdinChat />
|
||||
</Box>
|
||||
<OdinChat />
|
||||
</PageEnter>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user