diff options
author | Johannes Zellner <johannes@cloudron.io> | 2019-08-06 16:24:22 +0200 |
---|---|---|
committer | Johannes Zellner <johannes@cloudron.io> | 2019-08-06 16:24:22 +0200 |
commit | c0c93a746ded65cfa7d9158d78449220bc2d6d7c (patch) | |
tree | 2d235fd1a72b86c07115e438f10bafdcc5dcee17 /frontend | |
parent | 34adfa8518ba0b57d1837db1847a13215f31a83c (diff) | |
download | Surfer-c0c93a746ded65cfa7d9158d78449220bc2d6d7c.tar.gz Surfer-c0c93a746ded65cfa7d9158d78449220bc2d6d7c.tar.zst Surfer-c0c93a746ded65cfa7d9158d78449220bc2d6d7c.zip |
Do not stretch image previews
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/index.html b/frontend/index.html index 9849a69..974dece 100644 --- a/frontend/index.html +++ b/frontend/index.html | |||
@@ -84,7 +84,7 @@ | |||
84 | <el-table :data="entries" style="max-width: 1280px;width: 100%" height="100%" empty-text="Folder is emtpy" :default-sort="{ prop: 'filePath', order: 'descending' }" @row-click="open"> | 84 | <el-table :data="entries" style="max-width: 1280px;width: 100%" height="100%" empty-text="Folder is emtpy" :default-sort="{ prop: 'filePath', order: 'descending' }" @row-click="open"> |
85 | <el-table-column prop="previewUrl" label="Type" width="100px" sortable> | 85 | <el-table-column prop="previewUrl" label="Type" width="100px" sortable> |
86 | <template slot-scope="scope"> | 86 | <template slot-scope="scope"> |
87 | <img v-bind:src="scope.row.previewUrl" height="48px" width="48px"/> | 87 | <img v-bind:src="scope.row.previewUrl" height="48px" width="48px" style="object-fit: cover;"/> |
88 | </template> | 88 | </template> |
89 | </el-table-column> | 89 | </el-table-column> |
90 | <el-table-column prop="filePath" label="Name" sortable> | 90 | <el-table-column prop="filePath" label="Name" sortable> |