libkiwix/static/skin
renaud gaudin b1bc883bf5 Fixed #603: safer scroll bound detection
At least on Retina Macbook Pros but most likely on other configurations,
the viewport's sizes is not exactly consistent to integer.
For instance, on a maximized Firefox, document.body.offsetHeight is 1,600.
When looking at the <html> on the inspector, I'd get 1,599.6, so **roughly** the same
but not exactly. Those inconsistencies are present on every level so being too strict
about those is probably not adequate.

This fixes #603 but allowing a 2% margin on the scroll position
to match the _end of screen_ and thus trigger the loading of additional cards.
This means that for the example above, it triggers at 1,568 instead of never reaching 1,600.

2% might be too large but it seems safe considering the potential of various resolutions
we may encounter and I don't see any side effect.
2022-01-03 14:41:19 +00:00
..
fonts revamped basic layout and cards 2021-07-08 12:33:28 +02:00
jquery-ui Add non-minified version of jquery-ui.js 2020-07-13 16:45:24 +02:00
bittorrent.png added modal for downloading zim file on welcome page 2021-07-12 17:59:26 +05:30
block_external.js added root functionality for block external link feature 2021-03-23 03:17:14 +05:30
caret.png Introduce the server functionality in the kiwix-lib. 2019-08-11 11:30:43 +02:00
download.png added modal for downloading zim file on welcome page 2021-07-12 17:59:26 +05:30
hash.png added modal for downloading zim file on welcome page 2021-07-12 17:59:26 +05:30
index.css Add fallback image if thumbnail metadata is not available in zim 2021-12-29 00:15:34 +05:30
index.js Fixed #603: safer scroll bound detection 2022-01-03 14:41:19 +00:00
iso6391To3.js fixed reset filters link 2021-06-07 15:37:20 +02:00
isotope.pkgd.min.js revamped basic layout and cards 2021-07-08 12:33:28 +02:00
magnet.png added modal for downloading zim file on welcome page 2021-07-12 17:59:26 +05:30
search-icon.svg corrected select box and search bar design 2021-07-08 12:33:28 +02:00
taskbar.css Adjust body padding-top for taskbar 2020-11-04 11:53:59 +00:00
taskbar.js Render suggestion snippet properly 2021-05-26 10:53:00 +02:00