mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 20:26:39 +00:00
Merge pull request #4667 from home-assistant/restore-back-buttons
Restore back buttons
This commit is contained in:
commit
59540bdf63
@ -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 {
|
||||||
|
@ -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")}
|
||||||
|
@ -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="">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user