Skip to content

Commit f806d1f

Browse files
author
Petr Kachanovsky
committed
fix: set min width for json columns
1 parent 3d36199 commit f806d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/spa/src/components/ValueRenderer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
{{ checkEmptyValues(record[column.name] && parseFloat(record[column.name]), route.meta.type) }}
3434
</span>
3535
<span v-else-if="column.type === 'json'">
36-
<JsonViewer :value="record[column.name]" :expandDepth="column.extra?.jsonCollapsedLevel" copyable sort :theme="coreStore.theme" />
36+
<JsonViewer class="min-w-[6rem]" :value="record[column.name]" :expandDepth="column.extra?.jsonCollapsedLevel" copyable sort :theme="coreStore.theme"/>
3737
</span>
3838
<span v-else>
3939
{{ checkEmptyValues(record[column.name],route.meta.type) }}

0 commit comments

Comments
 (0)