.textLayer { div { user-select: text; } } .viewer-button-cont { position: absolute; display: flex; justify-content: space-evenly; align-items: center; } .viewer-previousPage, .viewer-nextPage { background: grey; font-weight: bold; opacity: 0.5; padding: 0 10px; border-radius: 5px; } .textLayer { user-select: auto; } .pdfViewer-annotationBox { position: absolute; background-color: red; opacity: 0.1; } .pdfViewer-annotationLayer { position: absolute; top: 0; } .pdfViewer-pinAnnotation { background-color: red; position: absolute; border-radius: 100%; }