$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);
}