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 0000000000..c924aa434d --- /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 b9d202f555..975b1d6b52 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 @@