diff --git a/javascript/apps/taiga/src/app/modules/auth/components/auth-forest/auth-forest.component.css b/javascript/apps/taiga/src/app/modules/auth/components/auth-forest/auth-forest.component.css
index 396dbf6aa..479151edd 100644
--- a/javascript/apps/taiga/src/app/modules/auth/components/auth-forest/auth-forest.component.css
+++ b/javascript/apps/taiga/src/app/modules/auth/components/auth-forest/auth-forest.component.css
@@ -7,6 +7,7 @@ Copyright (c) 2023-present Kaleidos INC
*/
img {
+ inline-size: auto;
inset-block-start: var(--banner-height);
max-block-size: calc(100vh - var(--banner-height));
pointer-events: none;
diff --git a/javascript/apps/taiga/src/app/modules/auth/components/auth-forest/auth-forest.component.html b/javascript/apps/taiga/src/app/modules/auth/components/auth-forest/auth-forest.component.html
index 5d6296166..a67558427 100644
--- a/javascript/apps/taiga/src/app/modules/auth/components/auth-forest/auth-forest.component.html
+++ b/javascript/apps/taiga/src/app/modules/auth/components/auth-forest/auth-forest.component.html
@@ -7,12 +7,16 @@
-->
{{ t('reset_password.description') }}
@@ -96,7 +98,9 @@{{ t('reset_password.confirm.description') }}
diff --git a/javascript/apps/taiga/src/app/modules/auth/feature-reset-password/auth-feature-reset-password.component.ts b/javascript/apps/taiga/src/app/modules/auth/feature-reset-password/auth-feature-reset-password.component.ts index 552d3f7d5..3ab651dd3 100644 --- a/javascript/apps/taiga/src/app/modules/auth/feature-reset-password/auth-feature-reset-password.component.ts +++ b/javascript/apps/taiga/src/app/modules/auth/feature-reset-password/auth-feature-reset-password.component.ts @@ -22,7 +22,7 @@ import { } from '../data-access/+state/actions/auth.actions'; import { selectShowResetPasswordConfirmation } from '../data-access/+state/selectors/auth.selectors'; import { AuthForestComponent } from '../components/auth-forest/auth-forest.component'; -import { CommonModule } from '@angular/common'; +import { CommonModule, NgOptimizedImage } from '@angular/common'; import { TranslocoDirective } from '@ngneat/transloco'; import { InputsModule } from '@taiga/ui/inputs'; @@ -53,6 +53,7 @@ import { TitleComponent } from '~/app/shared/title/title.component'; InternalLinkDirective, RouterLink, getUrlPipe, + NgOptimizedImage, ], }) export class AuthFeatureResetPasswordComponent implements OnInit { diff --git a/javascript/apps/taiga/src/app/modules/auth/feature-reset-password/components/new-password.component.html b/javascript/apps/taiga/src/app/modules/auth/feature-reset-password/components/new-password.component.html index 63b6e5976..2d53efbd7 100644 --- a/javascript/apps/taiga/src/app/modules/auth/feature-reset-password/components/new-password.component.html +++ b/javascript/apps/taiga/src/app/modules/auth/feature-reset-password/components/new-password.component.html @@ -12,7 +12,9 @@{{ t('signup.subtitle') }}
diff --git a/javascript/apps/taiga/src/app/modules/auth/feature-sign-up/auth-feature-sign-up.component.ts b/javascript/apps/taiga/src/app/modules/auth/feature-sign-up/auth-feature-sign-up.component.ts index b50f66924..7bbdfbad5 100644 --- a/javascript/apps/taiga/src/app/modules/auth/feature-sign-up/auth-feature-sign-up.component.ts +++ b/javascript/apps/taiga/src/app/modules/auth/feature-sign-up/auth-feature-sign-up.component.ts @@ -23,7 +23,7 @@ import { AuthFeatureVerifyEmailComponent } from './components/verify-email/verif import { SignupComponent } from './components/signup/signup.component'; import { TuiButtonModule } from '@taiga-ui/core'; import { SocialLoginComponent } from '../components/social-login/social-login.component'; -import { CommonModule } from '@angular/common'; +import { CommonModule, NgOptimizedImage } from '@angular/common'; import { TranslocoDirective } from '@ngneat/transloco'; import { ContextNotificationComponent } from '@taiga/ui/context-notification/context-notification.component'; import { InlineNotificationComponent } from '@taiga/ui/inline-notification'; @@ -55,6 +55,7 @@ import { TitleComponent } from '~/app/shared/title/title.component'; InternalLinkDirective, AuthFeatureVerifyEmailComponent, getUrlPipe, + NgOptimizedImage, ], }) export class AuthFeatureSignUpComponent implements OnInit { diff --git a/javascript/apps/taiga/src/app/modules/auth/feature-sign-up/components/verify-email/verify-email.component.html b/javascript/apps/taiga/src/app/modules/auth/feature-sign-up/components/verify-email/verify-email.component.html index 39917a868..1d32d0fc4 100644 --- a/javascript/apps/taiga/src/app/modules/auth/feature-sign-up/components/verify-email/verify-email.component.html +++ b/javascript/apps/taiga/src/app/modules/auth/feature-sign-up/components/verify-email/verify-email.component.html @@ -11,7 +11,9 @@ data-test="verify-email-page">{{ t('verify.verification_link_sent') }}
diff --git a/javascript/apps/taiga/src/app/modules/auth/feature-sign-up/components/verify-email/verify-email.component.ts b/javascript/apps/taiga/src/app/modules/auth/feature-sign-up/components/verify-email/verify-email.component.ts index 67f8bf767..5bc1ea49c 100644 --- a/javascript/apps/taiga/src/app/modules/auth/feature-sign-up/components/verify-email/verify-email.component.ts +++ b/javascript/apps/taiga/src/app/modules/auth/feature-sign-up/components/verify-email/verify-email.component.ts @@ -26,7 +26,7 @@ import { import { SignUp } from '~/app/modules/auth/feature-sign-up/models/sign-up.model'; import { AppService } from '~/app/services/app.service'; import { TranslocoDirective } from '@ngneat/transloco'; -import { CommonModule } from '@angular/common'; +import { CommonModule, NgOptimizedImage } from '@angular/common'; @UntilDestroy() @Component({ @@ -35,7 +35,7 @@ import { CommonModule } from '@angular/common'; styleUrls: ['./verify-email.component.css'], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, - imports: [CommonModule, TranslocoDirective, TuiLinkModule], + imports: [CommonModule, TranslocoDirective, TuiLinkModule, NgOptimizedImage], }) export class AuthFeatureVerifyEmailComponent implements OnInit { @Input() diff --git a/javascript/apps/taiga/src/app/modules/errors/403/error-403.component.html b/javascript/apps/taiga/src/app/modules/errors/403/error-403.component.html index 1606d0b4e..8a0ed55fe 100644 --- a/javascript/apps/taiga/src/app/modules/errors/403/error-403.component.html +++ b/javascript/apps/taiga/src/app/modules/errors/403/error-403.component.html @@ -13,7 +13,9 @@ [routerLink]="['/']" [attr.aria-label]="t('navigation.go_home')">{{ t('invitation_modal.add_people') }}
diff --git a/javascript/apps/taiga/src/app/shared/invite-user-modal/invite-user-modal.component.ts b/javascript/apps/taiga/src/app/shared/invite-user-modal/invite-user-modal.component.ts index 7d28a851e..51880686d 100644 --- a/javascript/apps/taiga/src/app/shared/invite-user-modal/invite-user-modal.component.ts +++ b/javascript/apps/taiga/src/app/shared/invite-user-modal/invite-user-modal.component.ts @@ -79,7 +79,7 @@ import { UserCardComponent } from '../user-card/user-card.component'; import { TuiDropdownModule } from '@taiga-ui/core/directives/dropdown'; import { TuiAutoFocusModule, TuiActiveZoneModule } from '@taiga-ui/cdk'; import { TuiScrollbarModule } from '@taiga-ui/core/components/scrollbar'; -import { CommonModule } from '@angular/common'; +import { CommonModule, NgOptimizedImage } from '@angular/common'; import { InputsModule } from '@taiga/ui/inputs'; import { BadgeComponent } from '@taiga/ui/badge/badge.component'; import { ContextNotificationComponent } from '@taiga/ui/context-notification/context-notification.component'; @@ -141,6 +141,7 @@ interface InviteUserState { TuiLinkModule, ButtonLoadingDirective, capitalizePipe, + NgOptimizedImage, ], }) export class InviteUserModalComponent implements OnInit, OnChanges { diff --git a/javascript/apps/taiga/src/app/shared/nouser-avatar/nouser-avatar.component.html b/javascript/apps/taiga/src/app/shared/nouser-avatar/nouser-avatar.component.html index b21bc7318..bb056e094 100644 --- a/javascript/apps/taiga/src/app/shared/nouser-avatar/nouser-avatar.component.html +++ b/javascript/apps/taiga/src/app/shared/nouser-avatar/nouser-avatar.component.html @@ -7,6 +7,8 @@ --> diff --git a/javascript/apps/taiga/src/app/shared/nouser-avatar/nouser-avatar.component.ts b/javascript/apps/taiga/src/app/shared/nouser-avatar/nouser-avatar.component.ts index 3400b4044..ab71c701e 100644 --- a/javascript/apps/taiga/src/app/shared/nouser-avatar/nouser-avatar.component.ts +++ b/javascript/apps/taiga/src/app/shared/nouser-avatar/nouser-avatar.component.ts @@ -12,12 +12,12 @@ import { HostBinding, Input, } from '@angular/core'; -import { CommonModule } from '@angular/common'; +import { CommonModule, NgOptimizedImage } from '@angular/common'; @Component({ selector: 'tg-nouser-avatar', standalone: true, - imports: [CommonModule], + imports: [CommonModule, NgOptimizedImage], templateUrl: './nouser-avatar.component.html', styleUrls: ['./nouser-avatar.component.css'], changeDetection: ChangeDetectionStrategy.OnPush, diff --git a/javascript/apps/taiga/src/app/shared/user-card/user-card.component.css b/javascript/apps/taiga/src/app/shared/user-card/user-card.component.css index 8522dfbab..559384370 100644 --- a/javascript/apps/taiga/src/app/shared/user-card/user-card.component.css +++ b/javascript/apps/taiga/src/app/shared/user-card/user-card.component.css @@ -141,14 +141,6 @@ Copyright (c) 2023-present Kaleidos INC padding: var(--spacing-4); } -.avatar { - block-size: 32px; - border: solid 2px var(--color-gray20); - border-radius: 50%; - inline-size: 32px; - overflow: hidden; -} - .overflow { @mixin ellipsis; @@ -157,7 +149,7 @@ Copyright (c) 2023-present Kaleidos INC max-inline-size: 100%; } -.top { +.user-avatar { align-self: start; &.disabled { diff --git a/javascript/apps/taiga/src/app/shared/user-card/user-card.component.html b/javascript/apps/taiga/src/app/shared/user-card/user-card.component.html index b0d14c099..c76e48cc3 100644 --- a/javascript/apps/taiga/src/app/shared/user-card/user-card.component.html +++ b/javascript/apps/taiga/src/app/shared/user-card/user-card.component.html @@ -9,7 +9,7 @@ class="user-card" [class.disabled]="disabled">