NebraLtd / hm-diag

Helium Miner Diagnostics
https://nebra.io/hnt
MIT License
21 stars 25 forks source link

mysterium iframe hangs off side of screen and no way to scroll #555

Open shawaj opened 1 year ago

shawaj commented 1 year ago
Screenshot 2023-04-18 at 12 19 34
Louisreed commented 1 year ago

Looks like the Iframe needs 'overflow-x: scroll' as well!

Louisreed commented 1 year ago

@shawaj The issue is that not all elements on the mystnode page are fully responsive. The iframe is set to 100vw so scales properly and you can see some myst content is responsive above and below. Maybe an issue to raise with their dev team?

Screenshot 2023-05-24 at 01 04 23

Louisreed commented 1 year ago

Unsetting 'min-width: fit-content' on the Earning Report container makes the chart responsive and x-scrollable.

Screenshot 2023-05-24 at 01 07 38

shawaj commented 1 year ago

@Louisreed the strange thing is, if you view the page not in the iframe (use :4449 after the IP address instead of /myst) then the earnings report is scrollable and works fine.

So it must be something to do with the iframe