mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
FXL: fix container, which should not span whole viewport
This commit is contained in:
+2
-2
@@ -40,8 +40,8 @@ class Container {
|
|||||||
#side
|
#side
|
||||||
constructor() {
|
constructor() {
|
||||||
Object.assign(this.#element.style, {
|
Object.assign(this.#element.style, {
|
||||||
width: '100vw',
|
width: '100%',
|
||||||
height: '100vh',
|
height: '100%',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
|
|||||||
Reference in New Issue
Block a user