From a0e67d4c039d54e21de4ef672aa415f37730b8db Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 11 Nov 2020 14:13:40 +0100 Subject: [PATCH] Fix fabs (#7650) --- src/panels/config/scene/ha-scene-dashboard.ts | 2 +- src/panels/config/script/ha-script-picker.ts | 12 ++++++++++-- src/translations/en.json | 3 ++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/panels/config/scene/ha-scene-dashboard.ts b/src/panels/config/scene/ha-scene-dashboard.ts index 036f428f5f..fdbc0c3f23 100644 --- a/src/panels/config/scene/ha-scene-dashboard.ts +++ b/src/panels/config/scene/ha-scene-dashboard.ts @@ -208,7 +208,7 @@ class HaSceneDashboard extends LitElement { haStyle, css` a { - color: var(--primary-color); + text-decoration: none; } `, ]; diff --git a/src/panels/config/script/ha-script-picker.ts b/src/panels/config/script/ha-script-picker.ts index ac52705a39..d261cc82f5 100644 --- a/src/panels/config/script/ha-script-picker.ts +++ b/src/panels/config/script/ha-script-picker.ts @@ -2,6 +2,7 @@ import "@material/mwc-icon-button"; import "../../../components/ha-icon-button"; import { HassEntity } from "home-assistant-js-websocket"; import { + css, CSSResult, customElement, html, @@ -199,8 +200,15 @@ class HaScriptPicker extends LitElement { }); } - static get styles(): CSSResult { - return haStyle; + static get styles(): CSSResult[] { + return [ + haStyle, + css` + a { + text-decoration: none; + } + `, + ]; } } diff --git a/src/translations/en.json b/src/translations/en.json index 812932b87c..e7a8e1390e 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1931,7 +1931,8 @@ "name": "Name", "group": "Group", "system": "System" - } + }, + "add_user": "Add user" }, "editor": { "caption": "View user",