Skip to content

Commit

Permalink
fix: donot allow user select placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
tienifr committed Mar 15, 2023
1 parent 38defc6 commit f1fc7a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@
#drag-area {
-webkit-app-region: drag;
}
input[type=text] {
-webkit-user-select: text !important;
input::placeholder {
user-select: none;
-webkit-user-select: none
}
.disable-select * {
-webkit-user-select: none !important;
Expand Down

0 comments on commit f1fc7a5

Please sign in to comment.