Skip to content

Commit

Permalink
block user from selecting text on rating page
Browse files Browse the repository at this point in the history
  • Loading branch information
KendallDoesCoding authored Oct 2, 2022
1 parent 84f3f1a commit 16e143b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion rating/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
}

body{
Expand Down Expand Up @@ -126,4 +133,4 @@ label{
border: 1px solid black;
background-color: transparent;
}
}
}

0 comments on commit 16e143b

Please sign in to comment.