Skip to content

Commit

Permalink
fix: add z index to telegram iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerilym committed Jul 9, 2024
1 parent 4bcf51b commit 07099df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/auth/components/TelegramAuthButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ export const TelegramAuthButton = forwardRef<HTMLButtonElement, TelegramAuthButt
return (
<div className="group relative w-full overflow-hidden rounded-md">
{!isConnected ? (
<div className="absolute w-full scale-150 opacity-0" style={{ transform: 'scaleX(4)' }}>
<div
className="absolute w-full scale-150 opacity-0"
style={{ transform: 'scaleX(4)', zIndex: '50' }}
>
<LoginButton
botUsername="session_testnet_bot"
onAuthCallback={handleAuth}
Expand Down

0 comments on commit 07099df

Please sign in to comment.