Skip to content

fix: [file-upload] Fix font style issue in file list #3266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/vue/src/upload-list/src/mobile-first.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
>
<div class="flex" data-tag="tiny-upload-list-name">
<div
class="flex-1 sm:mr-6 text-sm sm:text-xs leading-5.5 text-color-text-primary overflow-hidden text-ellipsis whitespace-nowrap"
class="flex-1 sm:mr-6 text-xs sm:text-sm leading-5.5 text-color-text-primary overflow-hidden text-ellipsis whitespace-nowrap"
>
<span :title="file.name">{{
file.name
Expand Down Expand Up @@ -115,10 +115,10 @@
t('ui.uploadList.uploadFailedAndReupload')
}}</span>
</span>
<span v-else-if="~['uploading'].indexOf(file.status)" class="text-color-text-placeholder">{{
<span v-else-if="~['uploading'].indexOf(file.status)" class="text-color-text-secondary">{{
formatFileSize((file.size * file.percentage) / 100) + '/' + formatFileSize(file.size)
}}</span>
<span v-else class="text-color-text-placeholder">{{ formatFileSize(file.size) }}</span>
<span v-else class="text-color-text-secondary">{{ formatFileSize(file.size) }}</span>
</span>
<span class="flex-1 ml-2 overflow-hidden text-ellipsis whitespace-nowrap text-right text-color-none">
<slot name="assist-content" :file="file"></slot>
Expand Down
Loading