mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-21 17:22:17 +00:00
make group dropdown scrollable
This commit is contained in:
parent
9ea62aa81a
commit
5751733250
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ export function GroupDropdown({
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
{open && (
|
{open && (
|
||||||
<div className="absolute min-w-full z-[150] mt-1 end-0 bg-background-main border border-background-secondary rounded-xl shadow-lg py-1 pb-3 text-sm">
|
<div className="absolute min-w-full z-[150] mt-1 end-0 bg-background-main border border-background-secondary rounded-xl shadow-lg py-1 pb-3 text-sm max-h-80 overflow-auto scrollbar-thin scrollbar-track-background-secondary scrollbar-thumb-type-secondary">
|
||||||
{groups.length === 0 && !showInput && (
|
{groups.length === 0 && !showInput && (
|
||||||
<div className="px-4 py-2 text-type-secondary">
|
<div className="px-4 py-2 text-type-secondary">
|
||||||
{t("home.bookmarks.groups.dropdown.empty")}
|
{t("home.bookmarks.groups.dropdown.empty")}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue