Fix SymbolsList not using half screen
This commit is contained in:
parent
935318d475
commit
7c8db92453
1 changed files with 9 additions and 6 deletions
|
@ -41,22 +41,25 @@ export function SymbolsSidebar(props: ISymbolsSidebarProps): JSX.Element {
|
|||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className='h-full'>
|
||||
<div ref={divRef} className='h-1/2 text-gray-800'>
|
||||
<List
|
||||
className='List divide-y divide-black'
|
||||
itemCount={containers.length}
|
||||
itemSize={35}
|
||||
height={320}
|
||||
height={height}
|
||||
width={'100%'}
|
||||
>
|
||||
{Row}
|
||||
</List>
|
||||
</div>
|
||||
<div>
|
||||
<SymbolProperties
|
||||
symbol={props.symbols.get(props.selectedSymbolId)}
|
||||
symbols={props.symbols}
|
||||
onChange={props.onPropertyChange} />
|
||||
onChange={props.onPropertyChange}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue