Skip to content

Commit

Permalink
Update FileManagePage.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
llkeji authored and yllhwa committed Jun 7, 2024
1 parent d1a3fb4 commit 348e210
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/pages/FileManagePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ const onDeleteFileClick = async (key?: string) => {
<div v-for="file in uploadedFiles" :key="file.Key"
class="w-full flex flex-row items-center mt-4 rounded border-1 border-gray-300 px-2 py-1">
<div class="w-10 h-10 i-mdi-file-document-outline"></div>
<div class="flex flex-col">
<a class="text-lg font-semibold" :href="`/${file.Key}`" target="_blank">{{ decodeKey(file.Key!) }}</a>
<div class="flex flex-col title">
<a class="text-lg font-semibold" :title="decodeKey(file.Key!)" :href="`/${file.Key}`" target="_blank">{{ decodeKey(file.Key!) }}</a>
<div class="text-sm text-gray">{{ formatBytes(file.Size ?? 0) }}</div>
</div>
<div class="ml-auto w-6 h-6 i-mdi-trash-can-outline cursor-pointer"
Expand All @@ -56,4 +56,9 @@ body,
padding: 0;
background-color: #f8f9fa;
}
.title {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
</style>

0 comments on commit 348e210

Please sign in to comment.