Skip to content

Commit

Permalink
fix: telegram button click
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerilym committed Jul 9, 2024
1 parent 3010627 commit 4f5bc6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/auth/components/DiscordAuthButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const DiscordAuthButton = forwardRef<HTMLButtonElement, DiscordAuthButton

return (
<Button
className="text-session-black hover:text-session-black justify-center gap-2 border-transparent bg-[#5865F2] px-2 uppercase hover:bg-[#4853A4] hover:brightness-125"
className="text-session-black hover:text-session-black w-full justify-center gap-2 border-transparent bg-[#5865F2] px-2 uppercase hover:bg-[#4853A4] hover:brightness-125"
data-testid={ButtonDataTestId.DISCORD_AUTH}
rounded="md"
size="lg"
Expand Down
4 changes: 2 additions & 2 deletions packages/auth/components/TelegramAuthButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ export const TelegramAuthButton = forwardRef<HTMLButtonElement, TelegramAuthButt
};

return (
<div className="group relative w-min overflow-hidden rounded-md">
<div className="group relative w-full overflow-hidden rounded-md">
{!isConnected ? (
<div className="absolute w-full scale-150 opacity-0">
<div className="absolute w-full scale-150 opacity-0" style={{ transform: 'scaleX(4)' }}>
<LoginButton
botUsername="session_testnet_bot"
onAuthCallback={handleAuth}
Expand Down

0 comments on commit 4f5bc6c

Please sign in to comment.