]> _ Git - fluidbook-html5.git/commitdiff
fix #3742 @0.75
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 26 Jun 2020 14:56:45 +0000 (16:56 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 26 Jun 2020 14:56:45 +0000 (16:56 +0200)
js/libs/fluidbook/links/fluidbook.links.zoom.js
style/fluidbook.less

index 4a3d7294646bb47e588d80964187e7f7ec446c8f..2fb6a0b463c819bcc6ff2d62a4ccb75d6fac5563 100644 (file)
@@ -213,7 +213,7 @@ FluidbookLinksZoom.prototype = {
                     menu += share;
                 }
                 menu += '</div></div>';
-                $groupWrapper.append('<div id="zoomPopupBackground"><div class="bg"></div>' + menu + '</div>');
+                $groupWrapper.append('<div id="zoomPopupBackground"><div class="bg"></div></div>' + menu);
                 $groupWrapper.append('<a href="#" class="zoomPopupClose">' + getSpriteIcon('interface-close') + '</a>');
             }
 
@@ -390,6 +390,7 @@ FluidbookLinksZoom.prototype = {
         }
 
         $("#zoomPopupBackground").css({left: left, top: top, width: width, height: height, opacity: show ? 1 : 0});
+        $("#zoomPopupMenuWrapper").css({left: left, top: top + height, width: width, opacity: show ? 1 : 0});
     },
 
     zoomLinkClose: function (immediate) {
index 9bfcc9f6cb1f50a652d728f3c2377c3b9526feef..e8df1a2d0db09d9b30cf036e84c25e67e787ac48 100644 (file)
@@ -2542,6 +2542,12 @@ ul.chapters.shareList a.level0 .svg-icon {
     width: 100%;
     height: 100%;
   }
+}
+
+#zoomPopupMenuWrapper {
+  position: absolute;
+  z-index: 101;
+  transition: opacity 150ms;
 
   #zoomPopupMenu {
     position: absolute;