Prevent relative time text wrapping in more-info-sun (#8051)

This commit is contained in:
Philip Allgaier 2021-01-04 09:17:17 +01:00 committed by GitHub
parent 916a5c1a6b
commit 2113ea675e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,7 @@ class MoreInfoSun extends LitElement {
} }
ha-relative-time { ha-relative-time {
display: inline-block; display: inline-block;
white-space: nowrap;
} }
ha-relative-time::first-letter { ha-relative-time::first-letter {
text-transform: lowercase; text-transform: lowercase;