Prevent text selection.

This commit is contained in:
trading_peter 2022-03-25 23:42:12 +01:00
parent 3e5ef0dbe6
commit 4198b95ef6
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@tp/tp-icon", "name": "@tp/tp-icon",
"version": "1.0.0", "version": "1.0.1",
"description": "", "description": "",
"main": "tp-icon.js", "main": "tp-icon.js",
"scripts": { "scripts": {

View File

@ -16,6 +16,10 @@ class TpIcon extends Tooltip(LitElement) {
height: var(--tp-icon-height, 24px); height: var(--tp-icon-height, 24px);
cursor: pointer; cursor: pointer;
outline: none; outline: none;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
} }
.wrap { .wrap {