diff --git a/src/components/card/AttachmentList.vue b/src/components/card/AttachmentList.vue index c26db7d87..cb54e0a27 100644 --- a/src/components/card/AttachmentList.vue +++ b/src/components/card/AttachmentList.vue @@ -30,55 +30,48 @@ style="display: none;" multiple @change="handleUploadFile"> -
- diff --git a/src/components/card/CardSidebar.vue b/src/components/card/CardSidebar.vue index be7bdca1d..1b3c66a56 100644 --- a/src/components/card/CardSidebar.vue +++ b/src/components/card/CardSidebar.vue @@ -633,13 +633,16 @@ export default { width: 25vw; min-width: 250px; min-height: 120px; - margin: 20px 20px 60px 20px; + margin: 20px; padding-bottom: 20px; - } + display: flex; + flex-direction: column; - .modal__content button { - float: right; - margin: 40px 3px 3px 0; + &::v-deep .attachment-list { + flex-shrink: 1; + overflow: scroll; + max-height: 50vh; + } } diff --git a/webpack.js b/webpack.js index 65068d595..8b5445ac6 100644 --- a/webpack.js +++ b/webpack.js @@ -32,5 +32,5 @@ const config = { } }; -module.exports = merge(config, webpackConfig) +module.exports = merge(webpackConfig, config)