From a9ddaf1bd7fa295dcacb64dff74ffb542064ac9b Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Tue, 25 Mar 2025 15:18:19 +0300 Subject: [PATCH] Dev tools -> yaml: use "pre" instead of "span" for "validate-log" (#24722) * use "pre" instead of "span" for "validate-log" * prettier * prettier * remove "Important" for margin * remove line-breakes * prettier * prettier * prettier-ignore * prettier * prettier --- .../yaml_configuration/developer-yaml-config.ts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/panels/developer-tools/yaml_configuration/developer-yaml-config.ts b/src/panels/developer-tools/yaml_configuration/developer-yaml-config.ts index 906228308b..e0ed5221ab 100644 --- a/src/panels/developer-tools/yaml_configuration/developer-yaml-config.ts +++ b/src/panels/developer-tools/yaml_configuration/developer-yaml-config.ts @@ -120,9 +120,9 @@ export class DeveloperYamlConfig extends LitElement { "ui.panel.developer-tools.tabs.yaml.section.validation.errors" )} > - ${this._validateResult.errors} + +
${this._validateResult + .errors}` : "" } @@ -134,9 +134,9 @@ export class DeveloperYamlConfig extends LitElement { "ui.panel.developer-tools.tabs.yaml.section.validation.warnings" )} > - ${this._validateResult.warnings} + +
${this._validateResult + .warnings}` : "" } @@ -246,6 +246,7 @@ export class DeveloperYamlConfig extends LitElement { .validate-log { white-space: pre-wrap; direction: ltr; + margin: 0; } .content {