Skip to content

Commit 72acab8

Browse files
authored
Merge pull request #69 from devforth/fix-json-display
fix: set min width for json columns
2 parents 3d36199 + f806d1f commit 72acab8

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)