From 8b7e3338caa5efe58c4ae8f3ed18b33202daf5e0 Mon Sep 17 00:00:00 2001 From: tblivet Date: Mon, 25 Nov 2024 16:10:19 +0100 Subject: [PATCH] chore: lint --- .../scss/components/_check-requirements.scss | 10 ++++---- _dev/src/scss/components/_logs.scss | 24 +++++++++---------- _dev/src/scss/components/_progress.scss | 2 +- _dev/src/scss/layouts/_logs-pages.scss | 2 +- _dev/src/ts/types/apiTypes.ts | 4 ++-- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/_dev/src/scss/components/_check-requirements.scss b/_dev/src/scss/components/_check-requirements.scss index a0c3d907b3..9128bf7adb 100644 --- a/_dev/src/scss/components/_check-requirements.scss +++ b/_dev/src/scss/components/_check-requirements.scss @@ -34,15 +34,15 @@ $e: ".check-requirements"; &::before { content: ""; + position: absolute; + top: 50%; + left: 0; display: block; + width: 1.375rem; + height: 1.25rem; font-family: var(--#{$ua-prefix}font-family-material-icons); font-size: 1.25rem; line-height: 1; - width: 1.375rem; - height: 1.25rem; - position: absolute; - left: 0; - top: 50%; transform: translateY(-50%); } diff --git a/_dev/src/scss/components/_logs.scss b/_dev/src/scss/components/_logs.scss index 90bd0afb55..133f09d82a 100644 --- a/_dev/src/scss/components/_logs.scss +++ b/_dev/src/scss/components/_logs.scss @@ -32,14 +32,14 @@ $e-logs: ".logs"; flex-direction: column; flex-grow: 1; min-height: var(--#{$ua-prefix}logs-height); + overflow: hidden; background-color: var(--#{$ua-prefix}logs-background-color); border-radius: var(--#{$ua-prefix}border-radius); - overflow: hidden; #{$e-logs}__line { + padding-inline-start: 2.75rem; font-size: 0.75rem; line-height: 1.25rem; - padding-inline-start: 2.75rem; &::before { font-size: 1.2rem; @@ -72,15 +72,15 @@ $e-logs: ".logs"; &::before { content: ""; + position: absolute; + top: 50%; + left: 1rem; display: block; + width: 1.375rem; + height: 1.25rem; font-family: var(--#{$ua-prefix}font-family-material-icons); font-size: 1.25rem; line-height: 1; - width: 1.375rem; - height: 1.25rem; - position: absolute; - left: 1rem; - top: 50%; transform: translateY(-50%); } @@ -138,8 +138,8 @@ $e-logs: ".logs"; grid-template-columns: minmax(auto, min-content) auto; gap: 0.25rem; justify-content: start; - padding-inline-start: 1.75rem; padding-block: 0; + padding-inline-start: 1.75rem; line-height: 1.25rem; &::before { @@ -148,9 +148,9 @@ $e-logs: ".logs"; } #{$e-logs}__line-content { - white-space: nowrap; overflow: hidden; text-overflow: ellipsis; + white-space: nowrap; } } @@ -159,11 +159,11 @@ $e-logs: ".logs"; position: relative; display: flex; flex-direction: column; - gap: 0.5rem; flex-grow: 1; + gap: 0.5rem; max-height: var(--#{$ua-prefix}logs-height); - border-radius: var(--#{$ua-prefix}border-radius); overflow-y: auto; + border-radius: var(--#{$ua-prefix}border-radius); } &__summary-top { @@ -177,4 +177,4 @@ $e-logs: ".logs"; min-width: 1.25rem; } } -} \ No newline at end of file +} diff --git a/_dev/src/scss/components/_progress.scss b/_dev/src/scss/components/_progress.scss index 91a118c807..dbc3b96ef3 100644 --- a/_dev/src/scss/components/_progress.scss +++ b/_dev/src/scss/components/_progress.scss @@ -12,8 +12,8 @@ $e: ".log-progress"; &__status { display: flex; gap: 0.5rem; - font-size: 0.875rem; align-items: center; + font-size: 0.875rem; color: var(--#{$ua-prefix}primary-600); } diff --git a/_dev/src/scss/layouts/_logs-pages.scss b/_dev/src/scss/layouts/_logs-pages.scss index 82dff15e4d..008eead019 100644 --- a/_dev/src/scss/layouts/_logs-pages.scss +++ b/_dev/src/scss/layouts/_logs-pages.scss @@ -38,8 +38,8 @@ html { @container html-height (min-width: 0) { #{$ua-id} { display: grid; - grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; + grid-template-columns: minmax(0, 1fr); min-height: calc(100cqh - var(--#{$ua-prefix}header-offset)); #ua_container { diff --git a/_dev/src/ts/types/apiTypes.ts b/_dev/src/ts/types/apiTypes.ts index 36008ff911..86ac24f3fa 100644 --- a/_dev/src/ts/types/apiTypes.ts +++ b/_dev/src/ts/types/apiTypes.ts @@ -11,7 +11,7 @@ interface ApiResponseNextRoute { } interface ApiResponseAction { - error: null | boolean; + error: null | boolean; stepDone: null | boolean; next: string; status: string; @@ -21,7 +21,7 @@ interface ApiResponseAction { nextParams: { progressPercentage: number; [key: string]: any; - } + }; } type ApiResponse = ApiResponseHydration | ApiResponseNextRoute | ApiResponseAction;