Prevent text selection.

This commit is contained in:
trading_peter 2022-03-25 23:42:41 +01:00
parent b7a2d22b38
commit 3ca37a3918
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -20,6 +20,10 @@ class TpButton extends EventHelpers(LitElement) {
background: var(--tp-button-bg, #0277bd); background: var(--tp-button-bg, #0277bd);
line-height: var(--tp-button-icon-height, 24px); line-height: var(--tp-button-icon-height, 24px);
color: var(--tp-button-color, #ffffff); color: var(--tp-button-color, #ffffff);
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
} }
:host([disabled]) { :host([disabled]) {