Skip to content

Commit

Permalink
fix: make tooltip text no-selecting (#567)
Browse files Browse the repository at this point in the history
* no selecting tooltip text

With a double click on button, you can get selection on tooltip text. That may be distracting a little bit.

* Update web/src/less/memo.less

Co-authored-by: Stephen Zhou <[email protected]>

Co-authored-by: Stephen Zhou <[email protected]>
Co-authored-by: boojack <[email protected]>
  • Loading branch information
3 people authored Nov 25, 2022
1 parent ff0db82 commit f4e2b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/less/memo.less
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
@apply w-full flex flex-row justify-around items-center border-b border-gray-100 p-1 mb-1;

> .btn {
@apply relative w-6 h-6 p-1 text-gray-600 cursor-pointer;
@apply relative w-6 h-6 p-1 text-gray-600 cursor-pointer select-none;

&:hover > .tip-text {
@apply block;
Expand Down

0 comments on commit f4e2b73

Please sign in to comment.