Skip to content

Commit b09f3e8

Browse files
authored
ui: fix overflow for value in DetailInput (#11771)
In DetailInput component when a long value is used, it overflows on some browsers. Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 1efa46c commit b09f3e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/components/widgets/DetailsInput.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ export default {
8787
data () {
8888
return {
8989
columns: [
90-
{ title: this.$t('label.key'), dataIndex: 'key', key: 'key', width: '40%' },
91-
{ title: this.$t('label.value'), dataIndex: 'value', key: 'value', width: '40%' },
90+
{ title: this.$t('label.key'), dataIndex: 'key', key: 'key', width: '40%', ellipsis: true },
91+
{ title: this.$t('label.value'), dataIndex: 'value', key: 'value', width: '40%', ellipsis: true },
9292
{ title: this.$t('label.actions'), key: 'actions', width: '20%' }
9393
],
9494
newKey: '',

0 commit comments

Comments
 (0)