mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
Quote Image: fix overflow
Note: simply setting `display: none` works in Firefox, but not in WebKit Chromium.
This commit is contained in:
@@ -17,6 +17,9 @@ const pixelRatio = 2
|
|||||||
const html = `<style>
|
const html = `<style>
|
||||||
:host {
|
:host {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
overflow: hidden;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user