mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Updated the product card first version
refs https://github.com/TryGhost/Team/issues/1233 - added a way to remove the product image
This commit is contained in:
parent
93dba3cb9a
commit
ad90ad0236
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@
|
|||
>
|
||||
<div class="relative{{unless (or this.previewSrc @payload.productImageSrc) " bg-whitegrey-l2"}}">
|
||||
{{#if (or this.previewSrc @payload.productImageSrc)}}
|
||||
<img src={{or this.previewSrc @payload.productImageSrc}} class="{{kg-style this.kgImgStyle sidebar=this.ui.hasSideNav}}" alt={{@payload.alt}}>
|
||||
<img src={{or this.previewSrc @payload.productImageSrc}} class="{{kg-style this.kgImgStyle sidebar=this.ui.hasSideNav}}">
|
||||
<button class="absolute gh-btn gh-btn-grey gh-btn-icon" style="top: 10px; right: 10px; font-size: 1.2rem;" {{action "resetSrcs"}}><span>{{svg-jar "koenig/kg-trash"}}</span></button>
|
||||
{{#if this.isDraggedOver}}
|
||||
<div class="absolute absolute--fill flex items-center bg-black-60 pe-none">
|
||||
<span class="db center sans-serif fw7 f7 white">
|
||||
|
|
Loading…
Add table
Reference in a new issue