Newline behavior for date-range-picker history and logbook (#23710)

This commit is contained in:
libe.net 2025-01-13 08:45:38 +01:00 committed by GitHub
parent 2b8fc04fdc
commit 6dbc04455f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -223,7 +223,7 @@ export class HaDateRangePicker extends LitElement {
this.hass.locale,
this.hass.config
)) +
" - \n" +
(window.innerWidth >= 459 ? " - " : " - \n") +
(isThisYear(this.endDate)
? formatShortDateTime(
this.endDate,