kiwix-js-pwa
kiwix-js-pwa copied to clipboard
Some wrapped content in the articles do not display correctly.
Some extra text in physics and mathematics topics like derivations of the formuala are wrapped by default and so this whole paragraph is missing due to the lack of corresponding "show" button on webpage.
For example, the "Derivation of canonical partition function (classical, discrete)" in the article "Partition function (statistical mechanics)" is missing. This should not be a problem in ZIM file because the "Derivation" & "Note" in article "Bose–Einstein statistics" are shown correctly despite no button to wrap it.
I found this problem could be workaround by switching Display Style to mobile style manually (I use desktop style). But it is still annoying.
Software: Kiwix-JS-windows from Microsoft store Device: Laptop with intel i7-7700HQ, Nv GTX1070, 16GB memory OS: windows 10 2004 build 19041.450 ZIM: wikipedia_en_all_maxi_2020-08
OK, thanks for the report, and for the workaround. I'll investigate. It might be worth checking whether using KaTeX is also a culprit here, and whether switching to using SVG fallback images for the equations (in Config) helps. However, I suspect from what you say that the issue is s CSS one, with the section hidden in the desktop CSS, but no corresponding rule in the mobile CSS (hence why it displays in that mode).
Hi, I just checked change from SVG fallback images to KaTeX and this does not change how the deviation part show. If the content in ZIM file is consistent with the webpage, then the problem is highly possible on rendering the CSS.