ref: Optimize the button layout on the file upload page (#11354)

This commit is contained in:
2025-12-16 16:39:58 +08:00 committed by GitHub
parent 2cc8567c2f
commit 682d78698f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,8 +7,8 @@
:confirmBeforeClose="true"
>
<template #content>
<div class="button-container">
<div>
<div class="upload-button flex flex-wrap justify-between items-center gap-4 pb-4 md:flex-nowrap">
<div class="flex flex-wrap gap-4">
<el-button type="primary" @click="upload('file')">
{{ $t('commons.button.upload') }}{{ $t('menu.files') }}
</el-button>
@ -464,10 +464,10 @@ defineExpose({ acceptParams, handleDrop, open });
</script>
<style lang="scss" scoped>
.button-container {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
.upload-button {
.el-button + .el-button {
margin-left: 0;
}
}
.file-item {