mirror of
https://github.com/temetro/temetro.git
synced 2026-08-12 03:26:53 +00:00
Accept bare /<file#> command and remove page-level scrollbar
- chat-panel.tsx: `/10293` now triggers a lookup, not just `/patient 10293` (regex accepts an optional `patient` keyword; matches digits only so `/help` etc. still fall through to the normal reply). - app/layout.tsx: make <body> a fixed h-dvh, overflow-hidden shell so the page no longer shows its own scrollbar; each route's SidebarInset already scrolls internally (chat = overflow-hidden, settings = overflow-y-auto). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,7 @@ export default function RootLayout({
|
||||
lang="en"
|
||||
className={cn("dark", "h-full", "antialiased", geistSans.variable, geistMono.variable, "font-sans", inter.variable)}
|
||||
>
|
||||
<body className="min-h-full flex flex-col">{children}</body>
|
||||
<body className="h-dvh overflow-hidden flex flex-col">{children}</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user