mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #5139 from overleaf/ae-pdfjs-viewer-tabindex
Add tabindex to pdfjs-viewer element GitOrigin-RevId: be7bcba5e3c462b712dcb4deabe3ff8cf3d0233b
This commit is contained in:
parent
94a46c3c40
commit
d9d7382e80
2 changed files with 4 additions and 0 deletions
|
@ -155,6 +155,7 @@ export default App.directive('pdfng', ($timeout, localStorage) => ({
|
|||
<div
|
||||
data-pdf-viewer
|
||||
class="pdfjs-viewer"
|
||||
tabindex="0"
|
||||
pdf-src='pdfSrc'
|
||||
position='position'
|
||||
scale='scale'
|
||||
|
|
|
@ -146,6 +146,9 @@
|
|||
box-sizing: content-box;
|
||||
user-select: none;
|
||||
}
|
||||
&:focus-within {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
.progress-thin {
|
||||
position: absolute;
|
||||
|
|
Loading…
Reference in a new issue