Skip to content

Commit

Permalink
fix(ui): template size issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Skraye committed Sep 16, 2024
1 parent 035e87a commit 5e892a2
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions ui/src/components/templates/TemplateEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
</template>
</top-nav-bar>
<templates-deprecated />
<section class="container">
<editor @save="save" v-model="content" schema-type="template" lang="yaml" @update:model-value="onChange($event)" @cursor="updatePluginDocumentation" />
</section>
<div>
<editor class="main-editor" @save="save" v-model="content" schema-type="template" lang="yaml" @update:model-value="onChange($event)" @cursor="updatePluginDocumentation" />
</div>
</template>

<script setup>
Expand Down Expand Up @@ -68,3 +68,10 @@
}
};
</script>
<style lang="scss" scoped>
.main-editor {
height: 100vh;
}
</style>

0 comments on commit 5e892a2

Please sign in to comment.