Skip to content

Commit

Permalink
Update Header.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Dec 16, 2024
1 parent f80792c commit ab6d5ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions frontend/src/assets/css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
background-color: rgba(0, 0, 0, 0.07) !important;
}

.header .btn-auth span.btn-auth-txt {
white-space: nowrap;
}

.header .logo {
text-decoration: none;
font-size: 18px;
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -413,13 +413,13 @@ const Header = ({
</Button>
)}
{!hideSignin && !isSignedIn && isLoaded && !loading && (
<Button variant="contained" size="medium" startIcon={<SignUpIcon />} href="/sign-up" disableElevation className="btn btn-margin">
{suStrings.SIGN_UP}
<Button variant="contained" size="medium" startIcon={<SignUpIcon />} href="/sign-up" disableElevation className="btn btn-auth" aria-label="Sign in">
<span className="btn-auth-txt">{suStrings.SIGN_UP}</span>
</Button>
)}
{!hideSignin && !isSignedIn && isLoaded && !loading && (
<Button variant="contained" size="medium" startIcon={<LoginIcon />} href="/sign-in" disableElevation className="btn">
{strings.SIGN_IN}
<Button variant="contained" size="medium" startIcon={<LoginIcon />} href="/sign-in" disableElevation className="btn btn-auth" aria-label="Sign up">
<span className="btn-auth-txt">{strings.SIGN_IN}</span>
</Button>
)}
{isSignedIn && (
Expand Down

0 comments on commit ab6d5ed

Please sign in to comment.