fix(ui): Update password requirements display in SetPasswordDialog component

This commit is contained in:
Alex Neo 2026-04-28 16:30:16 +03:00
parent 9ab9b8576c
commit 671ac5238b
3 changed files with 5 additions and 8 deletions

2
web/.gitignore vendored
View File

@ -23,3 +23,5 @@ dist-ssr
*.sln *.sln
*.sw? *.sw?
.env .env
test-results
playwright-report

View File

@ -156,7 +156,7 @@ export function MessageBubble({
<div <div
className={cn( className={cn(
!isComplete && !isComplete &&
"[&>p:last-child]:inline after:ml-0.5 after:inline-block after:h-4 after:w-2 after:animate-cursor-blink after:rounded-sm after:bg-foreground after:align-middle after:content-['']", "after:ml-0.5 after:inline-block after:h-4 after:w-2 after:animate-cursor-blink after:rounded-sm after:bg-foreground after:align-middle after:content-[''] [&>p:last-child]:inline",
)} )}
> >
<ReactMarkdown <ReactMarkdown

View File

@ -355,12 +355,7 @@ export default function SetPasswordDialog({
</p> </p>
<ul className="space-y-1"> <ul className="space-y-1">
{( {(
[ ["length", "uppercase", "digit", "special"] as const
"length",
"uppercase",
"digit",
"special",
] as const
).map((req) => ( ).map((req) => (
<li <li
key={req} key={req}