]> _ Git - fluidbook-html5.git/commitdiff
wait #5420 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 29 Aug 2022 13:05:32 +0000 (15:05 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 29 Aug 2022 13:05:32 +0000 (15:05 +0200)
js/libs/fluidbook/fluidbook.links.js
style/fluidbook.less

index d2b9a8b52be4b6720ffda410ab38e712f9f6341f..429f899350fc43f129564c13d4623a8e61e4a278 100644 (file)
@@ -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';
index 54c36b32345bf9b4f449088d696e6344246826c4..85af377c9b94ab08c0ef9e0a80841f6004b9d761 100644 (file)
@@ -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;
   }
 }