Skip to content

Commit 8bc9d3e

Browse files
committed
feat: Add error styling to AuthModal for improved user feedback
1 parent d30a6d8 commit 8bc9d3e

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

src/features/auth/components/authModal.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,25 @@
2222
text-align: center;
2323
font-size: 1em;
2424
}
25+
.authModal .errors {
26+
background-color: rgba(255, 0, 0, 0.064);
27+
border: 1px solid rgba(255, 0, 0, 0.363);
28+
border-radius: 6px;
29+
padding: 8px;
30+
display: flex;
31+
flex-direction: row;
32+
p {
33+
padding: 0;
34+
margin: 0;
35+
font-size: 0.8em;
36+
color: red;
37+
}
38+
.cta {
39+
flex: 1;
40+
}
41+
}
42+
43+
.authModal .footer {
44+
font-size: 0.7em;
45+
text-align: center;
46+
}

0 commit comments

Comments
 (0)