From 391f76fdbcc05a4200a4682ea5f42a1840ce9b97 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Fri, 6 Jan 2023 18:57:30 +0100 Subject: [PATCH] Fix: style + typo --- d.ts/antos.d.ts | 7 ++++--- src/core/gui.ts | 6 +++--- src/packages/SystemReport/main.css | 16 ++++++++-------- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/d.ts/antos.d.ts b/d.ts/antos.d.ts index e2a7c82..02406e5 100644 --- a/d.ts/antos.d.ts +++ b/d.ts/antos.d.ts @@ -1133,16 +1133,16 @@ declare namespace OS { */ interface ToastOptions { /** - * Where the Toast is displayed? + * Where the Toast is displayed? see [[ANCHOR]] * * @type {ANCHOR} * @memberof ToastOptions */ location?: ANCHOR; /** - * Timeout (in seconds) before the Toast disappear + * Timeout (in seconds) before the Toast disappears * Set this value to 0 to prevent the Toast to disappear, - * in this case, use need to explicitly close the notification + * in this case, user need to explicitly close the notification * * @type {number} * @memberof ToastOptions @@ -1158,6 +1158,7 @@ declare namespace OS { } /** * Toast notification API + * Show a toast message on different posisition on screen, see [[ToastOptions]] * * @export * @param diff --git a/src/core/gui.ts b/src/core/gui.ts index 2c76d4e..36a50ec 100644 --- a/src/core/gui.ts +++ b/src/core/gui.ts @@ -302,9 +302,9 @@ namespace OS { location?: ANCHOR; /** - * Timeout (in seconds) before the Toast disappear + * Timeout (in seconds) before the Toast disappears * Set this value to 0 to prevent the Toast to disappear, - * in this case, use need to explicitly close the notification + * in this case, user need to explicitly close the notification * * @type {number} * @memberof ToastOptions @@ -322,7 +322,7 @@ namespace OS { /** * Toast notification API - * Show a toad message on different posisition on screen, see [[ToastOptions]] + * Show a toast message on different posisition on screen, see [[ToastOptions]] * * @export * @param diff --git a/src/packages/SystemReport/main.css b/src/packages/SystemReport/main.css index 8597246..6f0aed2 100644 --- a/src/packages/SystemReport/main.css +++ b/src/packages/SystemReport/main.css @@ -1,35 +1,35 @@ -afx-app-window[data-id ='Syslog'] div[data-id ='container']{ +afx-app-window[data-id ='SystemReport'] div[data-id ='container']{ overflow: auto; } -afx-app-window[data-id ='Syslog'] .afx-bug-list-item-error { +afx-app-window[data-id ='SystemReport'] .afx-bug-list-item-error { display: block; } -afx-app-window[data-id ='Syslog'] .afx-bug-list-item-error i::before { +afx-app-window[data-id ='SystemReport'] .afx-bug-list-item-error i::before { color: chocolate; } -afx-app-window[data-id ='Syslog'] .afx-bug-list-item-time{ +afx-app-window[data-id ='SystemReport'] .afx-bug-list-item-time{ display: block; padding-left: 10px; } -afx-app-window[data-id ='Syslog'] .afx-bug-list-item-time i.label-text{ +afx-app-window[data-id ='SystemReport'] .afx-bug-list-item-time i.label-text{ font-size: 10px; font-style: italic; } -afx-app-window[data-id ='Syslog'] afx-bug-list-item li.selected { +afx-app-window[data-id ='SystemReport'] afx-bug-list-item li.selected { background-color: #116cd6; color: white; } -afx-app-window[data-id ='Syslog'] pre { +afx-app-window[data-id ='SystemReport'] pre { padding: 10px; margin:0; user-select: text; cursor: text; } -afx-app-window[data-id ='Syslog'] input{ +afx-app-window[data-id ='SystemReport'] input{ height: 100%; } \ No newline at end of file