fix: tooltips exceed the display area #112

This commit is contained in:
Lykin 2024-01-08 00:25:25 +08:00
parent 51a1b1b35f
commit 72ef406cd8
5 changed files with 13 additions and 0 deletions

View File

@ -61,6 +61,8 @@ const columns = computed(() => [
tooltip: {
style: {
maxWidth: '80vw',
maxHeight: '60vh',
overflowY: 'scroll',
},
},
},

View File

@ -91,8 +91,11 @@ const fieldColumn = computed(() => ({
tooltip: {
style: {
maxWidth: '80vw',
maxHeight: '60vh',
overflowY: 'scroll',
},
},
lineClamp: 10,
},
filterOptionValue: fieldFilterOption.value,
className: inEdit.value ? 'clickable' : '',
@ -120,6 +123,8 @@ const valueColumn = computed(() => ({
tooltip: {
style: {
maxWidth: '80vw',
maxHeight: '60vh',
overflowY: 'scroll',
},
},
},

View File

@ -92,6 +92,8 @@ const valueColumn = computed(() => ({
tooltip: {
style: {
maxWidth: '80vw',
maxHeight: '60vh',
overflowY: 'scroll',
},
},
},

View File

@ -91,6 +91,8 @@ const valueColumn = computed(() => ({
tooltip: {
style: {
maxWidth: '80vw',
maxHeight: '60vh',
overflowY: 'scroll',
},
},
},

View File

@ -140,6 +140,8 @@ const valueColumn = computed(() => ({
tooltip: {
style: {
maxWidth: '80vw',
maxHeight: '60vh',
overflowY: 'scroll',
},
},
},