Skip to content

Commit

Permalink
add formating changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBenediktBusch committed Aug 6, 2024
1 parent da46b75 commit 4c3854c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 3 additions & 1 deletion packages/berlin/src/components/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ export default function Header() {
</div>
</>
) : (
<ZupassLoginButton>Login</ZupassLoginButton>
<ZupassLoginButton style={{ fontSize: '14px', lineHeight: '14px' }}>
Login
</ZupassLoginButton>
)}
<NavigationMenuItem>
<NavigationMenuLink>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { useNavigate } from 'react-router-dom';
type ZupassLoginButtonProps = {
$variant?: 'contained' | 'link';
children: React.ReactNode;
style?: React.CSSProperties;
};

const POPUP_URL = window.location.origin + '/popup';
Expand Down Expand Up @@ -81,12 +82,7 @@ function ZupassLoginButton({ children, $variant, ...props }: ZupassLoginButtonPr

return (
<>
<Button
onClick={handleLoginClick}
{...props}
$variant={$variant}
style={{ fontSize: '14px', lineHeight: '14px', borderRadius: 4 }}
>
<Button onClick={handleLoginClick} {...props} $variant={$variant}>
{children}
</Button>
</>
Expand Down

0 comments on commit 4c3854c

Please sign in to comment.