Skip to content

Commit 61c227c

Browse files
committed
Fix password modal spinner.
1 parent ae9de28 commit 61c227c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

mystbin/frontend/components/PasswordModal.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ export default function PasswordModal({
5757
onClick={() => onAttempt(passwordAttempt)}
5858
>
5959
{loading ? (
60-
<Spinner animation="border" role="status">
61-
<span className="sr-only">Loading...</span>
62-
</Spinner>
60+
<Spinner className={styles.spinner} animation="border" role="status" />
6361
) : (
6462
"Submit"
6563
)}

mystbin/frontend/styles/PasswordModal.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@
1515
float: right;
1616
margin-top: 0.4rem;
1717
}
18+
19+
.spinner {
20+
color: #e3e3e3;
21+
}

0 commit comments

Comments
 (0)