search: flex the container for scrolling
commit7e92222903019152c8a86148c9bd3645d74d02c0
authorMatilde Park <matilde@tlon.io>
dateThu 8 Jul 2021, 15:43 (5 years ago)
parenta9921c7
components/Search.js+1−1
@@ -66,7 +66,7 @@ export default function Search(props) {
6666 return (
6767 <div className="fixed w-screen h-screen bg-washedWall z-50 flex flex-col items-center">
6868 <div
69− className="relative my-32 flex flex-col max-w-screen-lg w-10/12 md:w-10/12 lg:w-8/12 xl:w-6/12 rounded-xl bg-white"
69+ className="relative my-32 flex flex-col max-w-screen-lg w-10/12 md:w-10/12 lg:w-8/12 xl:w-6/12 rounded-xl bg-white min-h-0"
7070 ref={searchRef}
7171 >
7272 <div className="">