browse hero items now use correct artwork
This commit is contained in:
parent
4c0855165f
commit
2c87591ce3
2 changed files with 3 additions and 2 deletions
|
@ -908,7 +908,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.cd-mediaitem-mvview .artwork {
|
.cd-mediaitem-mvview .artwork {
|
||||||
height: 172px;
|
height: auto;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
background: blue;
|
background: blue;
|
||||||
border-top-left-radius: 6px;
|
border-top-left-radius: 6px;
|
||||||
|
@ -918,6 +918,7 @@
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
margin: 6px;
|
margin: 6px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
|
aspect-ratio: 1.7435897435897436;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cd-mediaitem-mvview-overlay {
|
.cd-mediaitem-mvview-overlay {
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="artwork">
|
<div class="artwork">
|
||||||
<mediaitem-artwork
|
<mediaitem-artwork
|
||||||
:url="item.attributes?.artwork ? item.attributes?.artwork?.url : ''"
|
:url="item.attributes?.editorialArtwork.subscriptionHero.url ?? item.attributes?.artwork"
|
||||||
:video="(item.attributes != null && item.attributes?.editorialVideo != null) ? (item.attributes?.editorialVideo?.motionDetailSquare ? item.attributes?.editorialVideo?.motionDetailSquare?.video : (item.attributes?.editorialVideo?.motionSquareVideo1x1 ? item?.attributes?.editorialVideo?.motionSquareVideo1x1?.video : '')) : '' "
|
:video="(item.attributes != null && item.attributes?.editorialVideo != null) ? (item.attributes?.editorialVideo?.motionDetailSquare ? item.attributes?.editorialVideo?.motionDetailSquare?.video : (item.attributes?.editorialVideo?.motionSquareVideo1x1 ? item?.attributes?.editorialVideo?.motionSquareVideo1x1?.video : '')) : '' "
|
||||||
:size="516" :width="900"
|
:size="516" :width="900"
|
||||||
></mediaitem-artwork>
|
></mediaitem-artwork>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue