From 4debac60aef3c966173dc0a8df03e8526df72d08 Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Tue, 29 Oct 2024 00:09:09 +0300 Subject: [PATCH] Fix header title padding (#22568) * Update ha-header-bar.ts * Update ha-top-app-bar-fixed.ts * Update ha-two-pane-top-app-bar-fixed.ts --- src/components/ha-header-bar.ts | 2 +- src/components/ha-top-app-bar-fixed.ts | 2 +- src/components/ha-two-pane-top-app-bar-fixed.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/ha-header-bar.ts b/src/components/ha-header-bar.ts index aef90d635273..d3a32626f42b 100644 --- a/src/components/ha-header-bar.ts +++ b/src/components/ha-header-bar.ts @@ -46,7 +46,7 @@ export class HaHeaderBar extends LitElement { flex: none; } .mdc-top-app-bar__title { - padding-inline-start: 20px; + padding-inline-start: 24px; padding-inline-end: initial; } `, diff --git a/src/components/ha-top-app-bar-fixed.ts b/src/components/ha-top-app-bar-fixed.ts index e6fac8a01955..bfd71d75c1d3 100644 --- a/src/components/ha-top-app-bar-fixed.ts +++ b/src/components/ha-top-app-bar-fixed.ts @@ -24,7 +24,7 @@ export class HaTopAppBarFixed extends TopAppBarFixedBase { ); } .mdc-top-app-bar__title { - padding-inline-start: 20px; + padding-inline-start: 24px; padding-inline-end: initial; } `, diff --git a/src/components/ha-two-pane-top-app-bar-fixed.ts b/src/components/ha-two-pane-top-app-bar-fixed.ts index 5daae9d61858..0c5e1eddd804 100644 --- a/src/components/ha-two-pane-top-app-bar-fixed.ts +++ b/src/components/ha-two-pane-top-app-bar-fixed.ts @@ -321,7 +321,7 @@ export class TopAppBarBaseBase extends BaseElement { overflow: auto; } .mdc-top-app-bar__title { - padding-inline-start: 20px; + padding-inline-start: 24px; padding-inline-end: initial; } `,