streetsign icon indicating copy to clipboard operation
streetsign copied to clipboard

font size fix for webkit browsers

Open daniel-lang opened this issue 4 years ago • 1 comments

For some unknown reason, external webpages shown in an iframe are moved up because of the dynamically calculated font size. This seems to only affect iframes and only Webkit based browsers (safari, epiphany,...). The fix for this to add an extra class to the container for the iframe which resets the font size to zero. Testing showed that it does not affect other engines or post types.

Screenshot before image This https://streetsign.readthedocs.io/ running in Epiphany 3.28.6

Screenshot after image

daniel-lang avatar May 16 '20 09:05 daniel-lang