diff --git a/src/client/app/common/views/components/drive-file-thumbnail.vue b/src/client/app/common/views/components/drive-file-thumbnail.vue new file mode 100644 index 000000000..c924aa434 --- /dev/null +++ b/src/client/app/common/views/components/drive-file-thumbnail.vue @@ -0,0 +1,174 @@ + + + + + diff --git a/src/client/app/desktop/views/components/drive.file.vue b/src/client/app/desktop/views/components/drive.file.vue index b9d202f55..975b1d6b5 100644 --- a/src/client/app/desktop/views/components/drive.file.vue +++ b/src/client/app/desktop/views/components/drive.file.vue @@ -21,9 +21,9 @@

{{ $t('nsfw') }}

-
- -
+ + +

{{ file.name.lastIndexOf('.') != -1 ? file.name.substr(0, file.name.lastIndexOf('.')) : file.name }} {{ file.name.substr(file.name.lastIndexOf('.')) }} @@ -34,15 +34,18 @@