use variant thumb
This commit is contained in:
@@ -230,7 +230,12 @@
|
|||||||
<div
|
<div
|
||||||
class="flex text-xs border-b border-gray-3 pb-4">
|
class="flex text-xs border-b border-gray-3 pb-4">
|
||||||
<img
|
<img
|
||||||
:src="lastSelected.url"
|
:src="
|
||||||
|
mediaGetVariantUrl(
|
||||||
|
lastSelected,
|
||||||
|
'thumb',
|
||||||
|
)
|
||||||
|
"
|
||||||
class="max-h-20 max-w-20 mr-2" />
|
class="max-h-20 max-w-20 mr-2" />
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<p class="m-0 text-bold">
|
<p class="m-0 text-bold">
|
||||||
@@ -342,7 +347,7 @@
|
|||||||
item.url.length > 0
|
item.url.length > 0
|
||||||
? `url('${mediaGetVariantUrl(
|
? `url('${mediaGetVariantUrl(
|
||||||
item,
|
item,
|
||||||
'small',
|
'thumb',
|
||||||
)}')`
|
)}')`
|
||||||
: 'none',
|
: 'none',
|
||||||
backgroundColor:
|
backgroundColor:
|
||||||
|
|||||||
Reference in New Issue
Block a user