Skip to content

Commit

Permalink
fix: prevent selecting .visually-hidden elements (excalidraw#3501)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelle authored Apr 25, 2021
1 parent 23030a1 commit 81108bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
white-space: nowrap; /* added line */
user-select: none;
}

.LoadingMessage {
Expand Down
1 change: 1 addition & 0 deletions src/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
white-space: nowrap; /* added line */
user-select: none;
}

.LoadingMessage {
Expand Down

0 comments on commit 81108bf

Please sign in to comment.