add scroll bar to search
Some checks failed
deploy / deploy (push) Has been cancelled

This commit is contained in:
Lee 2023-10-20 12:15:09 +01:00
parent 5452dafa15
commit a78d66c74e

@ -52,7 +52,7 @@ export default function SearchPlayer() {
<div <div
className={clsx( className={clsx(
"absolute z-20 mt-7 flex min-w-[14rem] flex-col divide-y rounded-md bg-gray-700 shadow-sm", "absolute z-20 mt-7 flex max-h-[400px] min-w-[14rem] flex-col divide-y overflow-y-scroll rounded-md bg-gray-700 shadow-sm",
players.length > 0 ? "flex" : "hidden", players.length > 0 ? "flex" : "hidden",
)} )}
> >