Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tblivet committed Nov 25, 2024
1 parent 42e9ace commit 8b7e333
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions _dev/src/scss/components/_check-requirements.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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%);
}

Expand Down
24 changes: 12 additions & 12 deletions _dev/src/scss/components/_logs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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%);
}

Expand Down Expand Up @@ -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 {
Expand All @@ -148,9 +148,9 @@ $e-logs: ".logs";
}

#{$e-logs}__line-content {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}

Expand All @@ -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 {
Expand All @@ -177,4 +177,4 @@ $e-logs: ".logs";
min-width: 1.25rem;
}
}
}
}
2 changes: 1 addition & 1 deletion _dev/src/scss/components/_progress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion _dev/src/scss/layouts/_logs-pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions _dev/src/ts/types/apiTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface ApiResponseNextRoute {
}

interface ApiResponseAction {
error: null | boolean;
error: null | boolean;
stepDone: null | boolean;
next: string;
status: string;
Expand All @@ -21,7 +21,7 @@ interface ApiResponseAction {
nextParams: {
progressPercentage: number;
[key: string]: any;

Check failure on line 23 in _dev/src/ts/types/apiTypes.ts

View workflow job for this annotation

GitHub Actions / JS linter syntax check

Unexpected any. Specify a different type
}
};
}

type ApiResponse = ApiResponseHydration | ApiResponseNextRoute | ApiResponseAction;
Expand Down

0 comments on commit 8b7e333

Please sign in to comment.