ui: capitalize username's first letter in header

This commit is contained in:
Ravinou 2024-02-10 10:42:13 +01:00
parent e4b8ab2d33
commit 204c7fc384
No known key found for this signature in database
GPG key ID: EEEE670C40F6A4D7
2 changed files with 5 additions and 1 deletions

View file

@ -38,7 +38,7 @@ export default function Nav() {
<div>
<IconUser size={28} />
</div>
<div>
<div className={classes.username}>
{status === 'authenticated' && data.user.name}
</div>
</div>

View file

@ -10,6 +10,10 @@
align-items: center;
}
.username::first-letter {
text-transform: capitalize;
}
.account {
background: none;
border: none;