@@ -3,26 +3,26 @@ import { mdiArrowCollapseDown, mdiDownload } from "@mdi/js";
33// eslint-disable-next-line import/extensions
44import { IntersectionController } from "@lit-labs/observers/intersection-controller.js" ;
55import { LitElement , type PropertyValues , css , html , nothing } from "lit" ;
6- import { classMap } from "lit/directives/class-map" ;
76import { customElement , property , query , state } from "lit/decorators" ;
7+ import { classMap } from "lit/directives/class-map" ;
8+ import { fireEvent } from "../../../src/common/dom/fire_event" ;
89import type {
910 LandingPageKeys ,
1011 LocalizeFunc ,
1112} from "../../../src/common/translations/localize" ;
13+ import { waitForSeconds } from "../../../src/common/util/wait" ;
14+ import "../../../src/components/ha-alert" ;
15+ import "../../../src/components/ha-ansi-to-html" ;
16+ import type { HaAnsiToHtml } from "../../../src/components/ha-ansi-to-html" ;
1217import "../../../src/components/ha-button" ;
1318import "../../../src/components/ha-icon-button" ;
1419import "../../../src/components/ha-svg-icon" ;
15- import "../../../src/components/ha-ansi-to-html" ;
16- import "../../../src/components/ha-alert" ;
17- import type { HaAnsiToHtml } from "../../../src/components/ha-ansi-to-html" ;
20+ import { fileDownload } from "../../../src/util/file_download" ;
1821import {
1922 getObserverLogs ,
2023 downloadUrl as observerLogsDownloadUrl ,
2124} from "../data/observer" ;
22- import { fireEvent } from "../../../src/common/dom/fire_event" ;
23- import { fileDownload } from "../../../src/util/file_download" ;
2425import { getSupervisorLogs , getSupervisorLogsFollow } from "../data/supervisor" ;
25- import { waitForSeconds } from "../../../src/common/util/wait" ;
2626import { ASSUME_CORE_START_SECONDS } from "../ha-landing-page" ;
2727
2828const ERROR_CHECK = / ^ [ \d \s - : ] + ( E R R O R | C R I T I C A L ) ( .* ) / gm;
@@ -108,6 +108,8 @@ class LandingPageLogs extends LitElement {
108108 ! this . _scrolledToBottomController . value ) ||
109109 false ,
110110 } ) } "
111+ size = "small"
112+ appearance= "filled"
111113 @click = ${ this . _scrollToBottom }
112114 >
113115 <ha- svg- icon .path = ${ mdiArrowCollapseDown } slot= "start"> </ ha- svg- icon>
@@ -309,21 +311,14 @@ class LandingPageLogs extends LitElement {
309311 }
310312
311313 .new-logs-indicator {
312- --mdc-theme-primary : var (--text-primary-color );
313-
314314 overflow : hidden;
315315 position : absolute;
316- bottom : 0 ;
317- left : 0 ;
318- right : 0 ;
316+ bottom : 4px ;
317+ left : 4px ;
319318 height : 0 ;
320- background-color : var (--primary-color );
321- border-radius : 8px ;
322319
323320 transition : height 0.4s ease-out;
324321 display : flex;
325- justify-content : space-between;
326- align-items : center;
327322 }
328323
329324 .new-logs-indicator .visible {
0 commit comments