Skip to content

Commit

Permalink
Fix user-select issue in Board and index CSS files
Browse files Browse the repository at this point in the history
  • Loading branch information
ProLoser committed Oct 12, 2024
1 parent 117225d commit 8ef649b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Board/Board.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
--secondary: #ffd8a0;
--primary-hover: #2727ff;
--secondary-hover: rgb(128, 128, 211);
user-select: none;
.selected {
--primary: red;
--secondary: red;
Expand Down
4 changes: 4 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ body,
cursor: pointer;
}

.material-icons {
user-select: none;
}

@media (prefers-color-scheme: light) {
:root {
color: #213547;
Expand Down

0 comments on commit 8ef649b

Please sign in to comment.