only show scroll bar when needed
All checks were successful
deploy / deploy (push) Successful in 43s
All checks were successful
deploy / deploy (push) Successful in 43s
This commit is contained in:
parent
a78d66c74e
commit
da380fb603
@ -52,7 +52,7 @@ export default function SearchPlayer() {
|
||||
|
||||
<div
|
||||
className={clsx(
|
||||
"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",
|
||||
"absolute z-20 mt-7 flex max-h-[400px] min-w-[14rem] flex-col divide-y overflow-y-auto rounded-md bg-gray-700 shadow-sm",
|
||||
players.length > 0 ? "flex" : "hidden",
|
||||
)}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user