From: Vincent Vanwaelscappel Date: Wed, 22 Dec 2021 18:00:58 +0000 (+0100) Subject: wip #4979 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=17eeb03313507b30772852a88c6688c4e792e4d0;p=odl.git wip #4979 --- diff --git a/app/Jobs/ProcessFluidbook.php b/app/Jobs/ProcessFluidbook.php index 3c27abb..355b69d 100644 --- a/app/Jobs/ProcessFluidbook.php +++ b/app/Jobs/ProcessFluidbook.php @@ -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); }