Skip to content

Commit

Permalink
Quote Image: fix overflow
Browse files Browse the repository at this point in the history
Note: simply setting `display: none` works in Firefox, but not in WebKit
Chromium.
  • Loading branch information
johnfactotum committed Sep 11, 2024
1 parent 0b9fac8 commit 3658b19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions quote-image.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ const pixelRatio = 2
const html = `<style>
:host {
position: absolute;
width: 0;
height: 0;
overflow: hidden;
visibility: hidden;
}
</style>
Expand Down

0 comments on commit 3658b19

Please sign in to comment.