Skip to content

Commit f5d739b

Browse files
committed
Refactor ApiResponse.vue component to display JSON object in a scrollable card
1 parent 3b1455c commit f5d739b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/ApiResponse.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
<v-container>
77
<!-- Displaying the JSON object -->
8-
<pre>{{ JSON.stringify(metrics, null, 2)}}</pre>
8+
<v-card max-height="600px" class="overflow-y-auto">
9+
<pre>{{ JSON.stringify(metrics, null, 2) }}</pre>
10+
</v-card>
911
</v-container>
1012
</div>
1113
</template>

0 commit comments

Comments
 (0)