style fixes

This commit is contained in:
manuel.sowada
2026-05-13 16:05:12 +02:00
parent 4db4ac755c
commit 556ccc3a73
7 changed files with 175 additions and 121 deletions

View File

@@ -1225,12 +1225,6 @@ window.addEventListener('resize', () => {
tableEl.before(container);
// Höhe messen → thead offset setzen
requestAnimationFrame(()=>{
const h = container.getBoundingClientRect().height;
tableEl.style.setProperty('--filter-height', h + 'px');
});
if(!filterConfig.hideCounter) {
filterState.counterEl = document.createElement('div');
filterState.counterEl.className = 'live-counter';
@@ -1242,6 +1236,10 @@ window.addEventListener('resize', () => {
const wrapperResizeObserver = new ResizeObserver(() => {
// Filter-Header anpassen
syncFilterWidth(container);
// Höhe messen → thead offset setzen
const h = container.getBoundingClientRect().height;
tableEl.style.setProperty('--filter-height', h + 'px');
// Tabelle neu rendern
rebuildPrefix();