Skip to content

Commit

Permalink
fix(CSS): prevent browser default behaviours when long pressing or dr…
Browse files Browse the repository at this point in the history
…agging links (#1045)
  • Loading branch information
marcoskolodny authored Mar 13, 2024
1 parent d97ea17 commit 717343d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions css/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,10 @@ input::-ms-clear,
input::-ms-reveal {
display: none;
}

/* Avoid browser default behaviour when dragging or long pressing a link */
a {
-webkit-touch-callout: none;
-webkit-user-drag: none;
-moz-user-drag: none;
}

0 comments on commit 717343d

Please sign in to comment.