1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
cd7d261adf
commit
360826ef28
|
@ -722,7 +722,7 @@ export default {
|
||||||
span.innerText = column.label
|
span.innerText = column.label
|
||||||
document.body.appendChild(span)
|
document.body.appendChild(span)
|
||||||
const w = span.getBoundingClientRect().width
|
const w = span.getBoundingClientRect().width
|
||||||
column.minWidth = w > 65 ? w + 10 : w + 30
|
column.minWidth = w > 65 ? w + 10 : w > 60 ? w + 15 : w + 20
|
||||||
document.body.removeChild(span)
|
document.body.removeChild(span)
|
||||||
return h('span', column.label)
|
return h('span', column.label)
|
||||||
}
|
}
|
||||||
|
|
|
@ -733,7 +733,7 @@ export default {
|
||||||
span.innerText = column.label
|
span.innerText = column.label
|
||||||
document.body.appendChild(span)
|
document.body.appendChild(span)
|
||||||
const w = span.getBoundingClientRect().width
|
const w = span.getBoundingClientRect().width
|
||||||
column.minWidth = w > 65 ? w + 10 : w + 30
|
column.minWidth = w > 65 ? w + 10 : w > 60 ? w + 15 : w + 30
|
||||||
document.body.removeChild(span)
|
document.body.removeChild(span)
|
||||||
return h('span', column.label)
|
return h('span', column.label)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue