1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-10 09:33:59 +02:00

Fix: ObjectStrage利用時にドライブファイルアイコンが表示されない (#4677)

This commit is contained in:
MeiMei
2019-04-14 17:19:25 +09:00
committed by syuilo
parent 4db972318f
commit 6982faf668
4 changed files with 7 additions and 12 deletions

View File

@@ -24,7 +24,7 @@
<div class="attaches" v-show="files.length != 0">
<x-draggable class="files" :list="files" :options="{ animation: 150 }">
<div class="file" v-for="file in files" :key="file.id">
<div class="img" :style="`background-image: url(${file.thumbnailUrl})`" @click="detachMedia(file)"></div>
<div class="img" :style="`background-image: url(${file.thumbnailUrl || '/assets/thumbnail-not-available.png'})`" @click="detachMedia(file)"></div>
</div>
</x-draggable>
</div>
@@ -506,6 +506,7 @@ export default Vue.extend({
height 64px
background-size cover
background-position center center
background-color: rgba(128, 128, 128, 0.3)
> .mk-uploader
margin 8px 0 0 0