Skip to content

Commit

Permalink
chore: add comment to transaparent button
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerilym committed Jul 9, 2024
1 parent 56f6558 commit 9ec80ad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/auth/components/TelegramAuthButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ export const TelegramAuthButton = forwardRef<HTMLButtonElement, TelegramAuthButt
{!isConnected ? (
<div
className="absolute w-full scale-150"
style={{ transform: 'scaleX(4)', zIndex: '50', opacity: '0.001' }}
style={{
transform: 'scaleX(4)',
zIndex: '50',
// NOTE: This is a workaround to make the iframe almost invisible as opacity: 0 doesn't work
opacity: '0.001',
}}
>
<LoginButton
botUsername="session_testnet_bot"
Expand Down

0 comments on commit 9ec80ad

Please sign in to comment.