mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
- 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
22 lines
553 B
TypeScript
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>
|
|
);
|
|
}
|