Merge pull request #6743 from menloresearch/chore/dropdown-submenu-scrollable
chore: make dropdown sub menu assign projects scrollable
This commit is contained in:
commit
dabc49567c
@ -205,7 +205,7 @@ const SortableItem = memo(
|
||||
}}
|
||||
/>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent side="bottom" align="end" className="w-44">
|
||||
<DropdownMenuContent side="bottom" align="end" className="min-w-44">
|
||||
{thread.isFavorite ? (
|
||||
<DropdownMenuItem
|
||||
onClick={(e) => {
|
||||
@ -239,7 +239,7 @@ const SortableItem = memo(
|
||||
<IconFolder size={16} />
|
||||
<span>{t('common:projects.addToProject')}</span>
|
||||
</DropdownMenuSubTrigger>
|
||||
<DropdownMenuSubContent>
|
||||
<DropdownMenuSubContent className="max-h-60 min-w-44 overflow-y-auto">
|
||||
{availableProjects.length === 0 ? (
|
||||
<DropdownMenuItem disabled>
|
||||
<span className="text-left-panel-fg/50">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user