chore: sidebar overflowy

This commit is contained in:
金伟强 2023-05-19 18:12:09 +08:00
parent ce9c580e30
commit 072a90222f
1 changed files with 5 additions and 1 deletions

View File

@ -79,7 +79,11 @@ const SideBar: FC<{
{installedApps.length > 0 && (
<div className='mt-10'>
<div className='pl-2 text-xs text-gray-500 font-medium uppercase'>{t('explore.sidebar.workspace')}</div>
<div className='mt-3 space-y-1'>
<div className='mt-3 space-y-1 overflow-y-auto'
style={{
maxHeight: 'calc(100vh - 250px)'
}}
>
{installedApps.map(({id, is_pinned, uninstallable, app : { name }}) => {
return (
<Item