You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presumably that is because we capture height onload event at which point it seems to be 44px, I'm guessing height is changed a bit later although I don't exactly know why, given no presence of JS I don't see how it comes to be.
The text was updated successfully, but these errors were encountered:
I think it is worth considering alternative where excerpt is inserted into freeze dried page instead. In my tests doing something along the following lines:
Works relatively well. However issues arise if #excerpt overflows (it definitely will on mobile). Finding a way to do it without absolute positioning would be ideal.
I have settled on temporary solution that sets min-height: 100vh on iframe which addresses issue mostly. But all this is still an issue on mobile. As both captured height on desktop and min-height are ways to short.
Keeping this open to try and find a better solution.
It looks like https://notes.andymatuschak.org/About_these_notes gets a wrong height as seen in this excerpt:
https://ipfs.io/ipfs/QmQnW4pKAN2tSLHgCGojHkeT72N97JFx8b9zQsmJ34qBSi/
Presumably that is because we capture height
onload
event at which point it seems to be44px
, I'm guessing height is changed a bit later although I don't exactly know why, given no presence of JS I don't see how it comes to be.The text was updated successfully, but these errors were encountered: