Skip to content

fix: [file-upload] Optimize the position of mobile icons #3278

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 11, 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
2 changes: 1 addition & 1 deletion packages/vue/src/file-upload/src/mobile-first.vue
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ export default defineComponent({
<span class="ml-2">{t('ui.fileUpload.uploadFile')}</span>
</div>
</tiny-button>
<icon-plus-circle custom-class="sm:hidden w-5 h-5" />
<icon-plus-circle custom-class="sm:hidden w-5 h-5 absolute top-0.5 right-5" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CSS class for icon-plus-circle has been updated to include absolute, top-0.5, and right-5 for better positioning on mobile devices. Ensure that these changes do not interfere with other elements on different screen sizes.

</div>
)
} else if (listType === 'drag-single') {
Expand Down
Loading