mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 23:06:40 +00:00
revert lovelace selectable text (#4095)
This commit is contained in:
parent
8ac278bc59
commit
a8d0a2293f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user