Skip to content

Commit

Permalink
Merge pull request #122 from oleksandr-danylchenko/fix-too-broad-elem…
Browse files Browse the repository at this point in the history
…ent-selection

Removed too broad `position: relative` CSS selector from global annotator styles
  • Loading branch information
rsimon authored Jul 22, 2024
2 parents adf76b9 + 0a05eb7 commit 7628ac2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/text-annotator/src/TextAnnotator.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ html, body {
overscroll-behavior-y: none;
}

/* https://stackoverflow.com/questions/42507623/blue-highlight-on-onclick-on-buttons-in-chrome-mobile */
.r6o-annotatable {
-webkit-tap-highlight-color: transparent;
}

.r6o-annotatable, .r6o-annotatable * {
position: relative;

/* https://stackoverflow.com/questions/42507623/blue-highlight-on-onclick-on-buttons-in-chrome-mobile */
-webkit-tap-highlight-color: transparent;
}

.hovered * {
Expand Down

0 comments on commit 7628ac2

Please sign in to comment.