Updated how modal height is calculated

This commit is contained in:
Djordje Vlaisavljevic 2022-07-06 16:01:21 +02:00
parent 5058e46ec8
commit 62b4add780

View File

@ -350,7 +350,7 @@ function Results({posts, authors, tags}) {
return null;
}
return (
<div className='overflow-y-auto max-h-[70vh] -mt-[1px]'>
<div className='overflow-y-auto max-h-[calc(100vh-212px)] sm:max-h-[70vh] -mt-[1px]'>
<AuthorResults authors={authors} />
<TagResults tags={tags} />
<PostResults posts={posts} />