INNER CODE UNIT · JavaScript
resizing
ongres/stackgres · stackgres-k8s/src/admin-ui/src/main.js:75
let resizing = false; // a resize started needed because we can not detect event handler was attached or not
table.style.position = 'relative';
applyTableWidth();
ths.forEach((th, index) => {
// initilise the width if th does not already have it
if (!th.style.width) {
th.style.width = th.offsetWidth + 'px';
}
th.originalWidth = th.style.width;
const bar = document.createElement('div');
bar.style.position = 'absolute';
bar.style.right = 0;
bar.style.top = 0;
bar.style.bottom = 0;