refactor(ui): remove n-text (#506)

This commit is contained in:
Corentin THOMASSET 2023-06-25 15:49:43 +02:00 committed by GitHub
parent 05ea545475
commit 72c98a3c5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 52 additions and 74 deletions

View file

@ -26,9 +26,9 @@ const showResults = computed(() => !_.isUndefined(leftJson.value) && !_.isUndefi
</div>
<c-card data-test-id="diff-result">
<n-text v-if="jsonAreTheSame" depth="3" block text-center italic>
<div v-if="jsonAreTheSame" text-center op-70>
The provided JSONs are the same
</n-text>
</div>
<DiffRootViewer v-else :diff="result" />
</c-card>
</div>