Skip to content

Commit

Permalink
Add a way to show code preformatted
Browse files Browse the repository at this point in the history
  • Loading branch information
markwalet committed Jan 27, 2023
1 parent fb27407 commit 5a60cfc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/js/asset.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions resources/js/components/ModalActionResponse.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
>
<ModalHeader v-text="data.title"/>
<ModalContent>
<code v-if="data.html" v-html="data.html" />
<code v-if="data.body" v-text="data.body" />
<p v-if="data.html" v-html="data.html" />
<div v-if="data.body" v-text="data.body" />
<pre v-if="data.code" v-text="data.code" />
</ModalContent>
<ModalFooter>
<div class="flex items-center ml-auto">
Expand Down

0 comments on commit 5a60cfc

Please sign in to comment.