From 656bef3da9fc00d0739e88b73e6c00332b7afc1c Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Mon, 4 Jan 2021 09:17:17 +0100 Subject: [PATCH 1/3] Prevent relative time text wrapping in more-info-sun (#8051) --- src/dialogs/more-info/controls/more-info-sun.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dialogs/more-info/controls/more-info-sun.ts b/src/dialogs/more-info/controls/more-info-sun.ts index c5e26348e7..b480045643 100644 --- a/src/dialogs/more-info/controls/more-info-sun.ts +++ b/src/dialogs/more-info/controls/more-info-sun.ts @@ -80,6 +80,7 @@ class MoreInfoSun extends LitElement { } ha-relative-time { display: inline-block; + white-space: nowrap; } ha-relative-time::first-letter { text-transform: lowercase; From c41369c89c4f75a1018308602e31401064a4a91c Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Mon, 4 Jan 2021 09:18:08 +0100 Subject: [PATCH 2/3] Add EN fallback text for dismiss button (#8068) --- src/state/disconnect-toast-mixin.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/state/disconnect-toast-mixin.ts b/src/state/disconnect-toast-mixin.ts index a579d3b5d6..8751e47824 100644 --- a/src/state/disconnect-toast-mixin.ts +++ b/src/state/disconnect-toast-mixin.ts @@ -33,7 +33,8 @@ export default >(superClass: T) => duration: 0, dismissable: false, action: { - text: this.hass!.localize("ui.notification_toast.dismiss"), + text: + this.hass!.localize("ui.notification_toast.dismiss") || "Dismiss", action: () => {}, }, }); From a9d926e80ab3d51b665b48668c8de79ad8cf71ad Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Tue, 5 Jan 2021 20:38:52 +0100 Subject: [PATCH 3/3] Bumped version to 20201229.1 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e9a0029f8a..3e58b0b9ad 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name="home-assistant-frontend", - version="20201229.0", + version="20201229.1", description="The Home Assistant frontend", url="https://github.com/home-assistant/home-assistant-polymer", author="The Home Assistant Authors",