refactor(json-viewer): input monospace font (#485)

This commit is contained in:
Marvin 2023-06-23 21:38:34 +02:00 committed by GitHub
parent 38710dce56
commit 9125dcf9c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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">