fix: make tooltip text no-selecting (#567)

* 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 <hi@hyoban.cc>

Co-authored-by: Stephen Zhou <hi@hyoban.cc>
Co-authored-by: boojack <stevenlgtm@gmail.com>
pull/572/head^2
Tiefseemonster 2 years ago committed by GitHub
parent ff0db82dc3
commit f4e2b7319a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save