From 3c4d309b52f3833d8a4bd073bdf071d22c8f8147 Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Tue, 16 May 2023 15:50:20 +0800 Subject: [PATCH] Fix unnecessary scrollbar in scrolled mode --- paginator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paginator.js b/paginator.js index a6efac0..bdba2a6 100644 --- a/paginator.js +++ b/paginator.js @@ -446,7 +446,7 @@ export class Paginator extends HTMLElement { // FIXME: vertical-rl only, not -lr this.setAttribute('dir', vertical ? 'rtl' : 'ltr') this.style.padding = '0' - this.#container.style.overflow ='scroll' + this.#container.style.overflow ='auto' this.#maxWidthContainer.style.maxWidth = 'none' this.#maxHeightContainer.style.maxHeight = 'none' const columnWidth = this.layout.maxColumnWidth