Skip to content

Commit

Permalink
fix: modal size
Browse files Browse the repository at this point in the history
  • Loading branch information
mwdchang committed Jul 13, 2023
1 parent 1c93531 commit 38463e0
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,11 @@
</main>

<Teleport to="body">
<tera-modal v-if="openEditNode === true" @modal-mask-clicked="openEditNode = false">
<tera-modal
class="edit-modal"
v-if="openEditNode === true"
@modal-mask-clicked="openEditNode = false"
>
<template #header>
<h4>Add/Edit node</h4>
</template>
Expand Down Expand Up @@ -797,4 +801,8 @@ section math-editor {
width: 100%;
height: 100%;
}
.edit-modal:deep(main) {
max-width: 50rem;
}
</style>

0 comments on commit 38463e0

Please sign in to comment.