allow longer username

This commit is contained in:
burnettk 2022-11-21 22:49:09 -05:00
parent 3642f43f92
commit 16c111cb37
2 changed files with 8 additions and 1 deletions

View File

@ -74,7 +74,9 @@ export default function NavigationBar() {
if (UserService.isLoggedIn()) {
return (
<>
<HeaderGlobalAction>{UserService.getUsername()}</HeaderGlobalAction>
<HeaderGlobalAction className="username-header-text">
{UserService.getUsername()}
</HeaderGlobalAction>
<HeaderGlobalAction
aria-label="Logout"
onClick={handleLogout}

View File

@ -5,6 +5,11 @@
color: white;
}
/* defaults to 3rem, which isn't long sufficient for "elizabeth" */
.cds--header__action.username-header-text {
width: 5rem;
}
h1 {
font-weight: 400;
font-size: 28px;