Files
Liu 3cce29caa4 fix(doc-viewer): rebuild responsive home gallery
- compose the home page from real card, field, attachment and empty widgets
- place gallery cards into responsive columns on first mount and route remount
- update the home layout on native window resizes and breakpoint changes
- refresh navbar, docs page containers and offscreen render helpers
- add gallery layout regressions for mounting, resizing, hover and icon sizing
2026-11-13 21:56:49 +08:00

22 lines
553 B
TypeScript

import {
PropsWithChildren,
ScrollArea,
ScrollAreaContent,
Scrollbar,
} from "@lcui/react";
import DocsSidebar from "../../components/sidebar";
export default function EnDocsLayout({ children }: PropsWithChildren) {
return (
<div className="flex flex-1 min-h-0 h-full pl-2">
<DocsSidebar locale="en" />
<ScrollArea className="flex-1">
<ScrollAreaContent className="docs-scroll-content">
{children}
</ScrollAreaContent>
<Scrollbar direction="vertical" />
</ScrollArea>
</div>
);
}