Closed ghost closed 1 year ago
@tim78245 Which exact version of seamonkey do you use? We need to reproduce the bug first.
This CSS spec is interesting https://www.w3.org/TR/CSS2/visudet.html#inline-replaced-height
@tim78245 Which exact version of seamonkey do you use? We need to reproduce the bug first.
the current version, 2.53.14.
This CSS spec is interesting https://www.w3.org/TR/CSS2/visudet.html#inline-replaced-height
Yes, 150px is the default.
@veloman-yunkan Could you please make this quick fix?
kiwix/libkiwix#871 made the situation for seamonkey even worse (see https://github.com/kiwix/libkiwix/pull/871#issuecomment-1420485032). I will try to make seamonkey happy with kiwix-serve's ZIM viewer again.
Regarding the wrong height of the iframe - the root cause is because seamonkey doesn't recognize window.visualViewport
:
TypeError: window.visualViewport is undefined[Learn More] viewer.js:187:3 handle_visual_viewport_change http://localhost:8080/ROOT/skin/viewer.js:187:3
@veloman-yunkan So, it's a WONTFIX? Uers have to use a recent browser?
@veloman-yunkan So, it's a WONTFIX? Uers have to use a recent browser?
No. I have already fixed (or rather worked around) the issue reported in this ticket, but it won't make any difference until kiwix/libkiwix#885 is fixed too (which I am working on now).
Using an older browser the iframe that serves the content is only set to 150px high, making the content difficult to read.
This works:
This does not:
However there is something in the kiwix webpage that doesn't work when I try appending height:100% to the iframe element. I don't know why.