]> _ Git - odl.git/commitdiff
wip #4979
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 22 Dec 2021 18:00:58 +0000 (19:00 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 22 Dec 2021 18:00:58 +0000 (19:00 +0100)
app/Jobs/ProcessFluidbook.php

index 3c27abb72f46282e523d88f52bf09bf71a09ef7e..355b69db715ec10e47b96691d49049f27707bfe9 100644 (file)
@@ -78,7 +78,8 @@ class ProcessFluidbook extends Compiler
         $css .= '.article{--page-border:0;--page-margin:0;--body-bg-color:transparent;}';
         $css .= '.openFile,.rotateCw,.rotateCcw,.rotateCcw + .horizontalToolbarSeparator{display:none !important;}';
         $css .= '.bookmark,.print,.download{display:none !important}';
-        $css .= '.annotationLayer .popupWrapper .popup h1,.annotationLayer .popupWrapper .popup span{dispay:none !important;}';
+        $popup = '.annotationLayer .popupAnnotation .popupWrapper .popup';
+        $css .= $popup . ' h1,' . $popup . ' span{display:none !important;}';
         $this->vdir->file_put_contents('pdfjs/web/viewer.css', $css);
     }