mirror of
https://github.com/zadam/trilium.git
synced 2026-05-07 01:45:36 +02:00
client: refactor
This commit is contained in:
@@ -9,12 +9,12 @@ interface PropertySheetParams {
|
||||
wideLayoutBreakpoint?: number;
|
||||
}
|
||||
|
||||
export function PropertySheet({ className, children, wideLayoutBreakpoint }: PropertySheetParams) {
|
||||
export function PropertySheet({className, children, wideLayoutBreakpoint}: PropertySheetParams) {
|
||||
return <FluidWrapper
|
||||
className="property-sheet-container"
|
||||
className={clsx("property-sheet-container", className)}
|
||||
breakpoints={{narrow: 0, wide: wideLayoutBreakpoint || 600}}>
|
||||
|
||||
<div className={clsx("property-sheet", className)}>
|
||||
<div className="property-sheet">
|
||||
{children}
|
||||
</div>
|
||||
</FluidWrapper>
|
||||
|
||||
Reference in New Issue
Block a user