.pdfViewer-viewer { pointer-events: inherit; width: 100%; height: 100%; position: absolute; overflow-y: scroll; overflow-x: hidden; .page { position: relative; } .pdfViewer-text { transform-origin: top left; } .pdfViewer-dragAnnotationBox { position:absolute; background-color: transparent; opacity: 0.1; } .pdfViewer-annotationLayer { position: absolute; top: 0; width: 100%; pointer-events: none; .pdfPage-annotationBox { position: absolute; background-color: red; opacity: 0.1; } } .pdfViewer-overlayButton { border-bottom-left-radius: 50%; display: flex; justify-content: space-evenly; align-items: center; height: 70px; background: none; padding: 0; position: absolute; .pdfViewer-overlayButton-arrow { width: 0; height: 0; border-top: 25px solid transparent; border-bottom: 25px solid transparent; border-right: 25px solid #121721; transition: all 0.5s; } .pdfViewer-overlayButton-iconCont { background: #121721; height: 50px; width: 70px; display: flex; justify-content: center; align-items: center; margin-left: -2px; border-radius: 3px; } } .pdfViewer-overlayButton:hover { background: none; } }