This commit is contained in:
Bernt Christian Egeland 2021-08-23 20:01:44 +02:00
parent 0d490e6727
commit 378b743866
2 changed files with 33 additions and 39 deletions

View File

@ -38,7 +38,3 @@ Could not find a proper tailwind css.
.outer-max-width {
max-width: 60%;
}
.aspect-ratio-box {
padding-top: calc(9 / 16 * 100%);
padding-bottom: 20%;
}

View File

@ -92,8 +92,7 @@ export default function Event({ eventId, close, scrollRef }) {
) : null}
</div>
<div className="outer-max-width m-auto">
<div className="aspect-ratio-box w-full relative">
<div className="absolute w-full top-10 left-0">
<div className="w-full pt-5 relative pb-20">
{data.has_clip ? (
<Fragment>
<Heading size="lg">Clip</Heading>
@ -129,6 +128,5 @@ export default function Event({ eventId, close, scrollRef }) {
</div>
</div>
</div>
</div>
);
}