Skip to content

Commit

Permalink
add editor-content-height class to prevent dialog overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NV4RE authored Dec 25, 2024
1 parent 9ba039e commit 4fe8e64
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/TheEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<v-icon>{{ mdiCloseThick }}</v-icon>
</v-btn>
</template>
<v-card-text class="pa-0 d-flex">
<v-card-text class="pa-0 d-flex editor-content-height">
<codemirror-async
v-if="show"
ref="editor"
Expand Down Expand Up @@ -552,6 +552,10 @@ export default class TheEditor extends Mixins(BaseMixin) {
white-space: nowrap;
}
.editor-content-height {
height: calc(100dvh - 48px);
}
::v-deep .v-treeview-node__level + .v-treeview-node__level {
width: 12px;
}
Expand Down

0 comments on commit 4fe8e64

Please sign in to comment.