Skip to content

Commit

Permalink
prettier fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSlimvReal committed Nov 7, 2023
1 parent de535bd commit f7d50d5
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@
}

.has-remark {
background-image: gradient-helpers.top-right-triangle(colors.$muted-background);
background-image: gradient-helpers.top-right-triangle(
colors.$muted-background
);
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.child-pic {
width: 80px;
height: 80px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@use "src/styles/variables/sizes";


$block-padding: 7px;
$block-corner-radius: 5px;
$block-border: 1px solid lightgray;
Expand Down
1 change: 1 addition & 0 deletions src/app/core/common-components/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Common Components

are re-usable Angular components that serve as building blocks for other core modules
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
>
Please provide a valid email
</mat-error>
<mat-error *ngIf="email.errors?.other">{{
email.errors.other
}}</mat-error>
<mat-error *ngIf="email.errors?.other">{{ email.errors.other }}</mat-error>
</mat-form-field>
<p>
<button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
@use "src/styles/variables/sizes";
@use "src/styles/variables/colors";


/**
* ensures that all icons have the same width
*/
Expand Down
5 changes: 3 additions & 2 deletions src/app/features/file/edit-file/edit-file.component.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@

// let click events on disabled input be handled by parent element (because browsers completely eat them up otherwise)
// https://stackoverflow.com/a/32925830/1473411
input[disabled] { pointer-events:none }
input[disabled] {
pointer-events: none;
}

.clickable,
.clickable * {
Expand Down
3 changes: 0 additions & 3 deletions src/styles/variables/_ndb-light-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ $primary-palette: (
200: var(--primary-200, map-get(mat.$orange-palette, 200)),
300: var(--primary-300, map-get(mat.$orange-palette, 300)),
400: var(--primary-400, map-get(mat.$orange-palette, 400)),
//500: map-get(mat.$orange-palette, 500),
// TODO somehow this CSS variable breaks the progress bars
500: var(--primary-500, map-get(mat.$orange-palette, 500)),
600: var(--primary-600, map-get(mat.$orange-palette, 600)),
700: var(--primary-700, map-get(mat.$orange-palette, 700)),
Expand All @@ -35,7 +33,6 @@ $secondary-palette: (
800: var(--secondary-800, map-get(mat.$blue-palette, 800)),
900: var(--secondary-900, map-get(mat.$blue-palette, 900)),
A100: var(--secondary-A100, map-get(mat.$blue-palette, A100)),
// TODO this breaks the primary action button text color
A200: var(--secondary-A200, map-get(mat.$blue-palette, A200)),
A400: var(--secondary-A400, map-get(mat.$blue-palette, A400)),
A700: var(--secondary-A700, map-get(mat.$blue-palette, A700)),
Expand Down

0 comments on commit f7d50d5

Please sign in to comment.