Merge pull request #4667 from home-assistant/restore-back-buttons

Restore back buttons
This commit is contained in:
Bram Kragten 2020-01-30 11:56:29 +01:00 committed by GitHub
commit 59540bdf63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 10 deletions

View File

@ -110,7 +110,7 @@ class HaConfigDashboard extends LitElement {
app-header { app-header {
--app-header-background-color: var(--primary-background-color); --app-header-background-color: var(--primary-background-color);
} }
ha-config-navigation:last-child { ha-card:last-child {
margin-bottom: 24px; margin-bottom: 24px;
} }
ha-config-section { ha-config-section {

View File

@ -102,10 +102,7 @@ class ZHAConfigDashboard extends LitElement {
protected render(): TemplateResult { protected render(): TemplateResult {
return html` return html`
<hass-subpage <hass-subpage .header=${this.hass.localize("ui.panel.config.zha.title")}>
.header=${this.hass.localize("ui.panel.config.zha.title")}
.showBackButton=${!this.isWide}
>
<ha-config-section .narrow=${this.narrow} .isWide=${this.isWide}> <ha-config-section .narrow=${this.narrow} .isWide=${this.isWide}>
<div slot="header"> <div slot="header">
${this.hass.localize("ui.panel.config.zha.header")} ${this.hass.localize("ui.panel.config.zha.header")}

View File

@ -80,10 +80,6 @@ class HaConfigZwave extends LocalizeMixin(EventsMixin(PolymerElement)) {
display: none; display: none;
} }
ha-paper-icon-button-arrow-prev[hide] {
visibility: hidden;
}
.toggle-help-icon { .toggle-help-icon {
position: absolute; position: absolute;
top: -6px; top: -6px;
@ -95,7 +91,6 @@ class HaConfigZwave extends LocalizeMixin(EventsMixin(PolymerElement)) {
<app-header slot="header" fixed=""> <app-header slot="header" fixed="">
<app-toolbar> <app-toolbar>
<ha-paper-icon-button-arrow-prev <ha-paper-icon-button-arrow-prev
hide$="[[isWide]]"
on-click="_backTapped" on-click="_backTapped"
></ha-paper-icon-button-arrow-prev> ></ha-paper-icon-button-arrow-prev>
<div main-title=""> <div main-title="">