From 8daaf3d1999f0a7252078d213b9684f0fec31f90 Mon Sep 17 00:00:00 2001 From: Miguel Cabrerizo <30386061+doncicuto@users.noreply.github.com> Date: Mon, 17 Jun 2024 12:34:12 +0200 Subject: [PATCH] fix: mdc dialog styles not being applied to secret generator module (#8141) # Which Problems Are Solved - Styles from the material design component dialog are not being applied (no padding, wrong theme colors for titles...) # How the Problems Are Solved - The MatDialogModule has been added to secret-generator.module.ts so the styles are applied Here's a video showing the fix in action: https://github.com/doncicuto/zitadel/assets/30386061/32567e58-b7d6-48da-8369-b48e23828a5c # Additional Context - Closes #8085 Co-authored-by: Fabi --- .../policies/secret-generator/secret-generator.module.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/console/src/app/modules/policies/secret-generator/secret-generator.module.ts b/console/src/app/modules/policies/secret-generator/secret-generator.module.ts index 525ef47cf..9c61492f6 100644 --- a/console/src/app/modules/policies/secret-generator/secret-generator.module.ts +++ b/console/src/app/modules/policies/secret-generator/secret-generator.module.ts @@ -8,7 +8,7 @@ import { MatSelectModule } from '@angular/material/select'; import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import { TranslateModule } from '@ngx-translate/core'; import { HasRolePipeModule } from 'src/app/pipes/has-role-pipe/has-role-pipe.module'; - +import { MatDialogModule } from '@angular/material/dialog'; import { CardModule } from '../../card/card.module'; import { FormFieldModule } from '../../form-field/form-field.module'; import { InputModule } from '../../input/input.module'; @@ -31,6 +31,7 @@ import { SecretGeneratorComponent } from './secret-generator.component'; MatProgressSpinnerModule, MatSelectModule, TranslateModule, + MatDialogModule, ], exports: [SecretGeneratorComponent, DialogAddSecretGeneratorComponent], })