Skip to content

Commit

Permalink
fix modal size
Browse files Browse the repository at this point in the history
  • Loading branch information
Link1515 committed Oct 14, 2024
1 parent be80caa commit 8a4240f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/Modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,17 @@ watch(isOpen, () => {
</template>

<style scoped>
.modal {
width: 100%;
height: 100vh;
height: 100dvh;
}
.modal-content {
height: 100%;
max-width: 450px;
display: flex;
align-items: center;
justify-content: center;
}
</style>

0 comments on commit 8a4240f

Please sign in to comment.