Skip to content

Commit 2e3107b

Browse files
committed
fix: boolean value fixed width truncating size of object type
1 parent 275cfc8 commit 2e3107b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/app-frontend/src/features/inspector/DataField.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export default defineComponent({
101101
} else if (this.fieldOptions.abstract) {
102102
return ''
103103
} else {
104-
let result = formattedValue(value)
104+
let result = `<span class="value-formatted-ouput">${formattedValue(value)}</span>`
105105
if (this.field.objectType) {
106106
result += ` <span class="text-gray-500">(${this.field.objectType})</span>`
107107
}
@@ -681,8 +681,9 @@ export default defineComponent({
681681
color #999
682682
&.literal
683683
color $vividBlue
684-
&.raw-boolean
684+
&.raw-boolean >>> .value-formatted-ouput
685685
width 36px
686+
display inline-block
686687
&.native.Error
687688
background $red
688689
color $white !important

0 commit comments

Comments
 (0)