0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

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} />