Skip to content

Commit

Permalink
Merge pull request #2773 from owid/fix-disallow-selecting-text-in-but…
Browse files Browse the repository at this point in the history
…tons

enhance(grapher): disallow selecting text in buttons
  • Loading branch information
sophiamersmann authored Oct 16, 2023
2 parents 2a1802e + 15d3063 commit 802978d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
cursor: default;
letter-spacing: 0.01em;
white-space: nowrap;
user-select: none;

&:hover {
background-color: $hover-fill;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ $timelineHeight: 32px;
place-content: center;
margin-right: 0;
background-color: $light-fill;
user-select: none;

&:hover {
background: $hover-fill;
Expand Down

0 comments on commit 802978d

Please sign in to comment.