From 60e57748f7ae0d5d601c754b4ee43c9b9c3a5147 Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Fri, 27 Dec 2024 09:49:31 +0300 Subject: [PATCH] developer-tools-template: allow "select all" for "rendered" (#23456) * Update developer-tools-template.ts * Update developer-tools-template.ts * remove extensions --- .../developer-tools/template/developer-tools-template.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/panels/developer-tools/template/developer-tools-template.ts b/src/panels/developer-tools/template/developer-tools-template.ts index 9486e5e84a97..ab59028d722c 100644 --- a/src/panels/developer-tools/template/developer-tools-template.ts +++ b/src/panels/developer-tools/template/developer-tools-template.ts @@ -271,9 +271,7 @@ ${type === "object" haStyle, css` :host { - -ms-user-select: initial; - -webkit-user-select: initial; - -moz-user-select: initial; + user-select: none; } .content { @@ -303,6 +301,10 @@ ${type === "object" direction: var(--direction); } + .edit-pane .card-content { + user-select: initial; + } + .edit-pane a { color: var(--primary-color); } @@ -334,6 +336,7 @@ ${type === "object" margin-top: 0; margin-bottom: 0; direction: ltr; + user-select: text; } p,