Skip to content

Commit

Permalink
refactor(json-viewer): input monospace font (CorentinTh#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 authored Jun 23, 2023
1 parent 38710dc commit 9125dcf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tools/json-viewer/json-viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,17 @@ const rawJsonValidation = useValidation({
:feedback="rawJsonValidation.message"
:validation-status="rawJsonValidation.status"
>
<n-input
<c-input-text
ref="inputElement"
v-model:value="rawJson"
placeholder="Paste your raw JSON here..."
type="textarea"
rows="20"
multiline
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false"
monospace
/>
</n-form-item>
<n-form-item label="Prettified version of your JSON">
Expand Down

0 comments on commit 9125dcf

Please sign in to comment.