Commit c0c93a74 by Johannes Zellner

Do not stretch image previews

1 parent 34adfa85
Showing with 1 additions and 1 deletions
......@@ -84,7 +84,7 @@
<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">
<el-table-column prop="previewUrl" label="Type" width="100px" sortable>
<template slot-scope="scope">
<img v-bind:src="scope.row.previewUrl" height="48px" width="48px"/>
<img v-bind:src="scope.row.previewUrl" height="48px" width="48px" style="object-fit: cover;"/>
</template>
</el-table-column>
<el-table-column prop="filePath" label="Name" sortable>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!