From 17eeb03313507b30772852a88c6688c4e792e4d0 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 22 Dec 2021 19:00:58 +0100 Subject: [PATCH] wip #4979 --- app/Jobs/ProcessFluidbook.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.5