mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-20 09:34:56 +00:00
Make history page title a semantic heading (#51527)
This commit is contained in:
@@ -136,7 +136,9 @@ class HaPanelHistory extends LitElement {
|
||||
.narrow=${this.narrow}
|
||||
></ha-menu-button>
|
||||
`}
|
||||
<div slot="title">${this.hass.localize("panel.history")}</div>
|
||||
<h1 class="page-title" slot="title">
|
||||
${this.hass.localize("panel.history")}
|
||||
</h1>
|
||||
${entitiesSelected
|
||||
? html`
|
||||
<ha-icon-button
|
||||
@@ -627,6 +629,12 @@ class HaPanelHistory extends LitElement {
|
||||
overflow-y: visible;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
font-size: inherit;
|
||||
margin: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.content {
|
||||
height: calc(
|
||||
100vh - var(--header-height, 0px) - var(
|
||||
|
||||
Reference in New Issue
Block a user