Skip to content

Commit

Permalink
Icon: fixed apple icon alignment (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
ugtthis authored Jun 20, 2024
1 parent 0a748b1 commit dd879f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion public/images/logo-apple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 8 additions & 11 deletions src/pages/auth/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,18 @@ export default function Login() {
Sign in with Google
</Button>
<Button
class="h-16 gap-5 pr-7"
class="h-16 gap-4"
href={getAppleAuthUrl()}
leading={
<div class="relative size-8">
<img
src="/images/logo-apple.svg"
alt=""
width="100%"
height="100%"
style={{ 'object-fit': 'contain' }}
/>
</div>
<img
src="/images/logo-apple.svg"
alt=""
width={32}
height={32}
/>
}
>
Sign in with Apple
Sign in with Apple&nbsp&nbsp
</Button>
<Button
class="h-16 gap-4"
Expand Down

0 comments on commit dd879f2

Please sign in to comment.