]> _ Git - fluidbook-html5.git/commitdiff
wait #5962 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 31 May 2023 17:16:52 +0000 (19:16 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 31 May 2023 17:16:52 +0000 (19:16 +0200)
js/libs/fluidbook/fluidbook.menu.js
style/fluidbook.less

index 3a6bff01e051c3eced39d9f14daa3d5ddbca2f20..9b9c1e60b6c32db9e14cbabc6eec35ea5262f898 100644 (file)
@@ -404,7 +404,7 @@ FluidbookMenu.prototype = {
         var a = $('a[href="' + hash + '"]');
         var markup = decodeURIComponent($(a).attr('data-audio'));
         var view = this.getCaption();
-        view += '<div class="content">';
+        view += '<div class="content noscroll">';
         view += markup;
         view += '</div>';
         this.viewWrap(view, 'audio', '', '', false, hash);
index 7aeb3b27c0128477d984ac98b4105b72664de681..efc29a49319340956e3b6ae6e67f790ea602df9e 100644 (file)
@@ -1684,7 +1684,7 @@ html.ios body.portrait #interface {
     }
   }
 
-  &[data-menu="multimedia"], &[data-menu="webvideo"], &[data-menu="video"], &[data-menu="externalchapters"], &[data-menu="iframe"], &[data-menu="text"], &[data-menu="zoomhd"] {
+  &[data-menu="multimedia"], &[data-menu="webvideo"], &[data-menu="video"], &[data-menu="externalchapters"], &[data-menu="iframe"], &[data-menu="text"], &[data-menu="zoomhd"], &[data-menu="audio"] {
     .caption {
       height: 0;
       padding: 0;
@@ -1716,6 +1716,15 @@ html.ios body.portrait #interface {
     }
   }
 
+  &[data-menu="audio"]{
+    overflow: visible;
+    a, div {
+      &.button.back {
+        top: -30px;
+      }
+    }
+  }
+
   // Popup with close button outside
   &[data-menu="iframe"], &[data-menu="pdf"], &[data-menu="text"] {
     overflow: visible;
@@ -1789,6 +1798,12 @@ html.ios body.portrait #interface {
     }
   }
 
+  audio {
+    display: block;
+    width: 100%;
+    height: 100%;
+  }
+
 
   .zoomhdHolder {
     position: relative;