| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -224,7 +224,7 @@ class IFrame extends BaseLitComponent { | |||
| 224 | 224 | } | |
| 225 | 225 | ||
| 226 | 226 | handleResize() { | |
| 227 | - this.updateSizeReading(this.iframe.clientWidth); | ||
| 227 | + this.updateSizeReading(this.iframeContainer.clientWidth); | ||
| 228 | 228 | } | |
| 229 | 229 | ||
| 230 | 230 | // Update Pixel and Em inputs | |
@@ -414,7 +414,7 @@ class IFrame extends BaseLitComponent { | |||
| 414 | 414 | const self = this; | |
| 415 | 415 | self.querySelector('.pl-js-resize-handle').classList.add('is-resizing'); | |
| 416 | 416 | const origClientX = event.clientX; | |
| 417 | - const origViewportWidth = this.iframe.clientWidth + 40; | ||
| 417 | + const origViewportWidth = this.iframeContainer.clientWidth; | ||
| 418 | 418 | ||
| 419 | 419 | this.fullMode = false; | |
| 420 | 420 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments