From 03fee95f68f8e2630fe7278f5e43d52ab400b355 Mon Sep 17 00:00:00 2001 From: Ofek Ashery Date: Thu, 13 Jun 2019 07:01:14 +0300 Subject: [PATCH] Allow to copy text in the notifications panel (#3257) --- .../notifications/hui-notification-item-template.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/panels/lovelace/components/notifications/hui-notification-item-template.ts b/src/panels/lovelace/components/notifications/hui-notification-item-template.ts index 5aa26648b7..601eaa2b1b 100644 --- a/src/panels/lovelace/components/notifications/hui-notification-item-template.ts +++ b/src/panels/lovelace/components/notifications/hui-notification-item-template.ts @@ -25,6 +25,10 @@ export class HuiNotificationItemTemplate extends LitElement { return css` .contents { padding: 16px; + -ms-user-select: text; + -webkit-user-select: text; + -moz-user-select: text; + user-select: text; } ha-card .header {