revert lovelace selectable text (#4095)

This commit is contained in:
Ian Richardson 2019-10-21 18:45:15 -05:00 committed by Paulus Schoutsen
parent 8ac278bc59
commit a8d0a2293f

View File

@ -73,14 +73,6 @@ class HUIRoot extends LitElement {
);
}
protected firstUpdated(changedProperties: PropertyValues): void {
super.firstUpdated(changedProperties);
this.classList.toggle(
"disable-text-select",
/Chrome/.test(navigator.userAgent) && /Android/.test(navigator.userAgent)
);
}
protected render(): TemplateResult | void {
return html`
<app-route .route="${this.route}" pattern="/:view" data="${
@ -321,9 +313,6 @@ class HUIRoot extends LitElement {
:host {
--dark-color: #455a64;
--text-dark-color: #fff;
}
:host(.disable-text-select) {
-ms-user-select: none;
-webkit-user-select: none;
-moz-user-select: none;