From: Vincent Vanwaelscappel Date: Mon, 29 Aug 2022 13:05:32 +0000 (+0200) Subject: wait #5420 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c0f06c11c3b818d15142e9f6cff23244c3d24e76;p=fluidbook-html5.git wait #5420 @1 --- diff --git a/js/libs/fluidbook/fluidbook.links.js b/js/libs/fluidbook/fluidbook.links.js index d2b9a8b5..429f8993 100644 --- a/js/libs/fluidbook/fluidbook.links.js +++ b/js/libs/fluidbook/fluidbook.links.js @@ -756,7 +756,7 @@ FluidbookLinks.prototype = { from.scale = animation.type === 'zoomin' ? 1 : animation.scale; to.scale = animation.type === 'zoomout' ? 1 : animation.scale; - animatedElement = $(linkElement).find('img'); + animatedElement = $(linkElement).find('img,div.img'); from.transformOrigin = to.transformOrigin = animation.transformorigin; } else if (animation.type === 'fadein') { from.display = 'none'; diff --git a/style/fluidbook.less b/style/fluidbook.less index 54c36b32..85af377c 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -1559,10 +1559,12 @@ html.ios body.portrait #interface { display: none; } - img { + img, div.img { width: 100%; height: 100%; display: block; + background-size: 100% 100%; + background-position: 0 0; } }