diff --git a/src/client/app/common/views/widgets/post-form.vue b/src/client/app/common/views/widgets/post-form.vue index f1826cc59..c2341c8e3 100644 --- a/src/client/app/common/views/widgets/post-form.vue +++ b/src/client/app/common/views/widgets/post-form.vue @@ -24,7 +24,7 @@
-
+
@@ -263,17 +263,14 @@ export default define({ border solid 4px transparent cursor move - &:hover > .remove - display block - > .img width 64px height 64px background-size cover background-position center center + background-color: rgba(128, 128, 128, 0.3) > .remove - display none position absolute top -6px right -6px diff --git a/src/client/app/desktop/views/components/post-form.vue b/src/client/app/desktop/views/components/post-form.vue index 6ba4d4708..cd6d49a46 100644 --- a/src/client/app/desktop/views/components/post-form.vue +++ b/src/client/app/desktop/views/components/post-form.vue @@ -30,7 +30,7 @@
-
+
@@ -640,17 +640,14 @@ export default Vue.extend({ border solid 4px transparent cursor move - &:hover > .remove - display block - > .img width 64px height 64px background-size cover background-position center center + background-color: rgba(128, 128, 128, 0.3) > .remove - display none position absolute top -6px right -6px diff --git a/src/client/app/mobile/views/components/post-form.vue b/src/client/app/mobile/views/components/post-form.vue index 9c1072b4a..0a59af69e 100644 --- a/src/client/app/mobile/views/components/post-form.vue +++ b/src/client/app/mobile/views/components/post-form.vue @@ -24,7 +24,7 @@
-
+
@@ -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 diff --git a/src/misc/get-drive-file-url.ts b/src/misc/get-drive-file-url.ts index f2b0f8b00..067db8a5d 100644 --- a/src/misc/get-drive-file-url.ts +++ b/src/misc/get-drive-file-url.ts @@ -8,7 +8,7 @@ export default function(file: IDriveFile, thumbnail = false): string { if (file.metadata.withoutChunks) { if (thumbnail) { - return file.metadata.thumbnailUrl || file.metadata.webpublicUrl || (isImage ? file.metadata.url : '/assets/thumbnail-not-available.png'); + return file.metadata.thumbnailUrl || file.metadata.webpublicUrl || (isImage ? file.metadata.url : null); } else { return file.metadata.webpublicUrl || file.metadata.url; }