mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
Fix unnecessary scrollbar in scrolled mode
This commit is contained in:
+1
-1
@@ -446,7 +446,7 @@ export class Paginator extends HTMLElement {
|
|||||||
// FIXME: vertical-rl only, not -lr
|
// FIXME: vertical-rl only, not -lr
|
||||||
this.setAttribute('dir', vertical ? 'rtl' : 'ltr')
|
this.setAttribute('dir', vertical ? 'rtl' : 'ltr')
|
||||||
this.style.padding = '0'
|
this.style.padding = '0'
|
||||||
this.#container.style.overflow ='scroll'
|
this.#container.style.overflow ='auto'
|
||||||
this.#maxWidthContainer.style.maxWidth = 'none'
|
this.#maxWidthContainer.style.maxWidth = 'none'
|
||||||
this.#maxHeightContainer.style.maxHeight = 'none'
|
this.#maxHeightContainer.style.maxHeight = 'none'
|
||||||
const columnWidth = this.layout.maxColumnWidth
|
const columnWidth = this.layout.maxColumnWidth
|
||||||
|
|||||||
Reference in New Issue
Block a user