libkiwix/static/skin
Veloman Yunkan 57484fd63d Fixed ZIM viewer iframe height under SeaMonkey
SeaMonkey doesn't yet support [Window.visualViewport][1]. As a result the
height of the content iframe element was initialized to the default 150
pixels and never changed. Fortunately there is [Window.innerHeight][2]
which is supported from the very first days of the Gecko layout engine.
The difference between `Window.visualViewport.height` and
`Window.innerHeight` is that the latter also includes

- the height of the horizontal scroll bar, if present (but in a correctly
  implemented ZIM viewer there shouldn't be a horizontal scroll bar for the
  full web-page, so it's OK)

- the height of the on-screen keyboard (which is mostly used on mobile
  devices where SeaMonkey doesn't run). And it is also arguable if the
  appearing on-screen keyboard should squeeze the iframe or slide over
  it (in which latter case it may make more sense to always use `innerHeight`
  instead of `visualViewport.height`).

[1]: https://developer.mozilla.org/en-US/docs/Web/API/Window/visualViewport
[2]: https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight
2023-02-08 15:36:04 +01:00
..
css Removed unused resource skin/css/images/search.svg 2022-10-19 19:27:21 +04:00
favicon Add favicon for different devices. 2022-08-03 18:52:13 +05:30
fonts revamped basic layout and cards 2021-07-08 12:33:28 +02:00
i18n /skin/languages.js 2023-02-06 17:39:55 +01:00
autoComplete.min.js Welcome, autoComplete.js 2022-07-31 16:16:07 +05:30
bittorrent.png added modal for downloading zim file on welcome page 2021-07-12 17:59:26 +05:30
blank.html Embryo of iframe-based viewer 2022-09-21 15:41:40 +04:00
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
i18n.js Fixed broken ZIM viewer under SeaMonkey 2023-02-08 15:36:04 +01:00
index.css Applied KIWIXCACHEID to skin/search-icon.svg 2022-10-19 19:27:21 +04:00
index.js Revert "Partly respecting the kiwix-serve --nosearchbar option" 2022-09-21 15:41:40 +04:00
iso6391To3.js Add new values from wikipedia 2022-01-11 15:32:06 +01:00
isotope.pkgd.js Add non-minified version of isotope.pkgd.js 2022-01-27 00:11:04 -08:00
isotope.pkgd.min.js revamped basic layout and cards 2021-07-08 12:33:28 +02:00
languages.js /skin/languages.js 2023-02-06 17:39:55 +01:00
magnet.png added modal for downloading zim file on welcome page 2021-07-12 17:59:26 +05:30
mustache.js Added mustache.js (v4.2.0) 2023-02-06 17:39:55 +01:00
mustache.min.js Added mustache.js (v4.2.0) 2023-02-06 17:39:55 +01:00
search-icon.svg corrected select box and search bar design 2021-07-08 12:33:28 +02:00
search_results.css Got rid of static/templates/no_search_result.html 2022-04-06 14:42:29 +02:00
taskbar.css Added prototype UI language selector 2023-02-06 17:39:55 +01:00
viewer.js Fixed ZIM viewer iframe height under SeaMonkey 2023-02-08 15:36:04 +01:00