Page image alignment

This commit is contained in:
Vince 2021-02-22 10:59:47 +11:00
parent 47b0291165
commit d7838f40ce
2 changed files with 8 additions and 6 deletions

View File

@ -19,7 +19,7 @@ export function HomeHeroBubble() {
: 'translateY(-50vh)',
}}
onClick={() => dispatch(expandSideMenu())}
className="absolute bottom-0 z-40 px-10 duration-300"
className="absolute bottom-0 z-40 px-10 duration-300 cursor-pointer"
>
<div
className={classNames(

View File

@ -91,11 +91,13 @@ function Page({
) : (
<>
<div className="aspect-w-16 aspect-h-10 bg-gradient-to-bl from-hyper to-blush">
<img
style={{ maxHeight: '90%' }}
src={page?.hero?.imageUrl}
className="object-cover w-full"
/>
<div className="flex items-center justify-center w-full h-full mt-3">
<img
style={{ maxHeight: '90%' }}
src={page?.hero?.imageUrl}
className="object-cover w-full"
/>
</div>
</div>
<Contained>