Skip to content

Commit

Permalink
fixup! fix: Make edit mode in interactive widgets opt-in
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr committed Mar 28, 2024
1 parent 653c258 commit 612bd69
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/ViewerComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
:active="active || isEmbedded"
:autofocus="autofocus"
:share-token="shareToken"
:class="{ 'text-editor--embedding': isEmbedded }"
:mime="mime"
:show-outline-outside="showOutlineOutside" />
<div v-else
Expand Down Expand Up @@ -181,6 +182,10 @@ export default {
}
}

&.text-editor--embedding {
min-height: 400px;
}

}
</style>
<style lang="scss">
Expand Down

0 comments on commit 612bd69

Please sign in to comment.