tari-project / tari-universe

Other
0 stars 2 forks source link

Detect tapplet width and height to adjust styling #11

Closed MCozhusheck closed 6 days ago

MCozhusheck commented 2 months ago

Frontend should check tapplet width and height (maybe with https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect) and adjust styling for <iframe> element.

kowalski commented 2 months ago

https://github.com/davidjbradshaw/iframe-resizer-react idea