Skip to content

Commit

Permalink
Merge pull request #24 from GeorgeNikitinNV/Add-user-select--none-to-…
Browse files Browse the repository at this point in the history
…avoid-elements-selection-in-browser

Adding user-select: none to avoid user selection when user selects
  • Loading branch information
bunjdo authored Jul 30, 2024
2 parents 112b949 + d3c9084 commit 2d8d3b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client/src/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
max-height: 100vh;
font-size: 18px;
font-family: Verdana, sans-serif;

// Block user-select in browser
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

#root {
Expand Down

0 comments on commit 2d8d3b3

Please sign in to comment.