Prevent text selection.
This commit is contained in:
parent
b7a2d22b38
commit
3ca37a3918
@ -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": {
|
||||||
|
@ -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]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user