Skip to content

Commit

Permalink
Expand drop-zone to majority percentage of the webpage
Browse files Browse the repository at this point in the history
  • Loading branch information
hujambo-dunia committed Nov 8, 2023
1 parent 1f2c8b5 commit fbb9d63
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions client/src/components/Upload/DragAndDropModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function onDropFail(event) {
</script>
<template>
<BModal v-model="isFileOverDocument" :modal-class="modalClass" size="md" hide-header hide-footer centered>
<BModal v-model="isFileOverDocument" :modal-class="modalClass" hide-header hide-footer centered>
<div ref="modalContentElement" class="inner-content h-xl">Drop Files here to Upload</div>
</BModal>
</template>
Expand All @@ -46,12 +46,17 @@ function onDropFail(event) {
@import "theme/blue.scss";
.ui-drag-and-drop-modal {
.modal-dialog {
width: 100%;
max-width: 85%;
}
.modal-content {
background-color: transparent;
border-radius: 16px;
border: 6px dashed;
border-color: $brand-secondary;
min-height: 40vh;
min-height: 80vh;
.modal-body {
display: flex;
Expand Down

0 comments on commit fbb9d63

Please sign in to comment.