]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1685840: Google Books Preview: responsive sizing
authorDan Scott <dscott@laurentian.ca>
Mon, 24 Apr 2017 15:29:37 +0000 (11:29 -0400)
committerBen Shum <ben@evergreener.net>
Wed, 3 May 2017 01:54:39 +0000 (21:54 -0400)
commitccfb4a5f5e78a60bd6102ba1c68fafde2b103104
tree3f5b0c3f56116935ee89c22676811562c133c15e
parent025a6fba2664f4908fa93e969f79176194e6a000
LP#1685840: Google Books Preview: responsive sizing

Use the viewport's actual height and width to display the book preview,
rather than hard-coding 600px x 800px. On a very wide screen, the book
will be centred; on a small screen such as a mobile device, the book
will not scroll indiscriminately off to the side, but instead stays
within the bounds of the viewport.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/src/templates/opac/parts/ac_google_books.tt2