style fixes
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user