Skip to content

Commit

Permalink
fix(preview): Fix highlighting text when performing click and drag (#…
Browse files Browse the repository at this point in the history
…1531)

* fix(preview): Fix highlighting text when performing click and drag

* fix(preview): Change z-index from 2 to 1
  • Loading branch information
bkepka-box authored Jul 1, 2024
1 parent 585d367 commit 2a3459d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/viewers/doc/_docBase.scss
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,11 @@ $thumbnail-sidebar-width: 191px; // Extra pixel to account for sidebar border
}

.textLayer {
caret-color: black; // Required for caret navigation on transparent text
top: $pdfjs-page-padding;
bottom: auto;
z-index: 1;
opacity: 1;
caret-color: black; // Required for caret navigation on transparent text

// Only allow text divs to be selected
> div {
Expand Down

0 comments on commit 2a3459d

Please sign in to comment.