From ed1b28112773e7b8d3a4e7fd8b69cfaf97e55432 Mon Sep 17 00:00:00 2001 From: Anvay Date: Thu, 15 Jan 2026 01:23:49 +0530 Subject: [PATCH] WEB-573: refactor password preferences UI to card-based layout - Convert horizontal radio layout to vertical card-based blocks - Add heading labels (Basic, Standard, Strong) for each policy option - Position radio buttons and headings on same row with space-between - Increase padding and spacing for improved visual clarity - Maintain full-width blocks with consistent vertical stacking - Preserve all existing text content and functionality - Add trackBy function to *ngFor for performance optimization - Use translation keys for password labels instead of hardcoded array - Map labels based on preference ID for robustness --- .../password-preferences.component.html | 28 +++++++++---- .../password-preferences.component.scss | 42 ++++++++++++++++--- .../password-preferences.component.ts | 25 +++++++++++ 3 files changed, 80 insertions(+), 15 deletions(-) diff --git a/src/app/organization/password-preferences/password-preferences.component.html b/src/app/organization/password-preferences/password-preferences.component.html index 6474259a2..a11f48774 100644 --- a/src/app/organization/password-preferences/password-preferences.component.html +++ b/src/app/organization/password-preferences/password-preferences.component.html @@ -1,6 +1,5 @@