This commit is contained in:
Ivan 2025-07-29 23:03:29 +03:00
parent ceacd900c6
commit 271a0399f0
2 changed files with 4 additions and 5 deletions

View File

@ -33,10 +33,9 @@ export function ViewConstituents({
autoScroll autoScroll
}: ViewConstituentsProps) { }: ViewConstituentsProps) {
return ( return (
<aside className={cn(!noBorder && 'border', className)}> <div className={cn(!noBorder && 'border', className)}>
<ConstituentsSearch <ConstituentsSearch
schema={schema} // dense={dense} //
dense={dense}
hideGraphFilter={!activeCst} hideGraphFilter={!activeCst}
/> />
<TableSideConstituents <TableSideConstituents
@ -47,6 +46,6 @@ export function ViewConstituents({
autoScroll={autoScroll} autoScroll={autoScroll}
onDoubleClick={onDoubleClick} onDoubleClick={onDoubleClick}
/> />
</aside> </div>
); );
} }

View File

@ -122,7 +122,7 @@ export function EditorConstituenta() {
</div> </div>
<ViewConstituents <ViewConstituents
className={clsx( className={clsx(
'cc-animate-sidebar', 'cc-animate-sidebar min-h-55',
isNarrow ? 'mt-3 mx-6 rounded-md overflow-hidden' : 'mt-9 rounded-l-md rounded-r-none overflow-visible', isNarrow ? 'mt-3 mx-6 rounded-md overflow-hidden' : 'mt-9 rounded-l-md rounded-r-none overflow-visible',
showList ? 'max-w-full' : 'opacity-0 max-w-0' showList ? 'max-w-full' : 'opacity-0 max-w-0'
)} )}