1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-27 06:06:30 +00:00

Fix Lovelace view edit mode "Done" button styling (#11449)

This commit is contained in:
Philip Allgaier
2022-01-27 09:44:05 +01:00
committed by GitHub
parent f59c30ac04
commit e0c8efc5e6

View File

@@ -130,6 +130,7 @@ class HUIRoot extends LitElement {
></ha-icon-button>
</div>
<mwc-button
outlined
class="exit-edit-mode"
.label=${this.hass!.localize(
"ui.panel.lovelace.menu.exit_edit_mode"
@@ -938,7 +939,8 @@ class HUIRoot extends LitElement {
);
}
.exit-edit-mode {
--mdc-theme-primary: var(--primary-text-color);
--mdc-theme-primary: var(--app-header-edit-text-color, #fff);
--mdc-button-outline-color: var(--app-header-edit-text-color, #fff);
--mdc-typography-button-font-size: 14px;
}
`,