A potential fix could be to add this on line 760:716 on paginator.js ```js // Reapply custom styles after layout change to prevent formatting issues if (this.#styles) this.setStyles(this.#styles) ```