mirror of
https://github.com/web3privacy/web
synced 2024-10-15 18:26:27 +02:00
fix aspect ratio of posters on web
This commit is contained in:
parent
b306ab4d17
commit
9ab1030939
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ const ext = findExt(EventsExt, item)
|
||||||
<div class="lg:mr-10 mb-8 lg:mb-0">
|
<div class="lg:mr-10 mb-8 lg:mb-0">
|
||||||
<div>
|
<div>
|
||||||
{item.images && item.images['poster-simple'] &&
|
{item.images && item.images['poster-simple'] &&
|
||||||
<img src={item.images['poster-simple']} class="border border-white/20 w-80 aspect-[2/3] object-contain" />
|
<img src={item.images['poster-simple']} class="border border-white/20 w-80 aspect-[1/1.414] object-contain" />
|
||||||
}
|
}
|
||||||
{!(item.images && item.images['poster-simple']) &&
|
{!(item.images && item.images['poster-simple']) &&
|
||||||
<img src="/logo.svg" class="border border-white/20 w-80 aspect-square object-contain p-10" />
|
<img src="/logo.svg" class="border border-white/20 w-80 aspect-square object-contain p-10" />
|
||||||
|
|
Loading…
Reference in a new issue