Restore back buttons

fixes #4654
fixes #4653
fixes #4656
This commit is contained in:
Bram Kragten 2020-01-30 11:22:50 +01:00
parent b41f25ef12
commit ef62f1956b
3 changed files with 2 additions and 10 deletions

View File

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

View File

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

View File

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