Skip to content

Commit 682d786

Browse files
authored
ref: Optimize the button layout on the file upload page (#11354)
1 parent 2cc8567 commit 682d786

File tree

1 file changed

+6
-6
lines changed
  • frontend/src/views/host/file-management/upload

1 file changed

+6
-6
lines changed

frontend/src/views/host/file-management/upload/index.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
:confirmBeforeClose="true"
88
>
99
<template #content>
10-
<div class="button-container">
11-
<div>
10+
<div class="upload-button flex flex-wrap justify-between items-center gap-4 pb-4 md:flex-nowrap">
11+
<div class="flex flex-wrap gap-4">
1212
<el-button type="primary" @click="upload('file')">
1313
{{ $t('commons.button.upload') }}{{ $t('menu.files') }}
1414
</el-button>
@@ -464,10 +464,10 @@ defineExpose({ acceptParams, handleDrop, open });
464464
</script>
465465

466466
<style lang="scss" scoped>
467-
.button-container {
468-
display: flex;
469-
justify-content: space-between;
470-
margin-bottom: 10px;
467+
.upload-button {
468+
.el-button + .el-button {
469+
margin-left: 0;
470+
}
471471
}
472472
473473
.file-item {

0 commit comments

Comments
 (0)