|
|
@ -100,8 +100,8 @@ onKeyDown('Escape', () => { |
|
|
|
<div class="nc-attachment h-full w-full flex items-center justify-center cursor-move"> |
|
|
|
<div class="nc-attachment h-full w-full flex items-center justify-center cursor-move"> |
|
|
|
<div |
|
|
|
<div |
|
|
|
v-if="isImage(item.title, item.mimetype)" |
|
|
|
v-if="isImage(item.title, item.mimetype)" |
|
|
|
:style="{ backgroundImage: `url('${item.url}')`, backgroundSize: 'cover' }" |
|
|
|
:style="{ backgroundImage: `url('${item.url}')` }" |
|
|
|
class="w-full h-full" |
|
|
|
class="w-full h-full bg-contain bg-center bg-no-repeat" |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
<component |
|
|
|
<component |
|
|
|