Skip to content

Commit

Permalink
fix(clerk-js): Removed loading spinner padding and constrained the so…
Browse files Browse the repository at this point in the history
…cial image to the parent width
  • Loading branch information
octoper committed Oct 6, 2023
1 parent 7f4d4b9 commit 92a152c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions packages/clerk-js/src/ui/elements/ArrowBlockButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ export const ArrowBlockButton = (props: ArrowBlockButtonProps) => {
elementDescriptor={spinnerElementDescriptor}
elementId={spinnerElementId}
size={'md'}
sx={theme => [
{
padding: theme.space.$2,
},
]}
/>
) : !isIconElement && leftIcon ? (
<Icon
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/src/ui/elements/SocialButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const SocialButtons = React.memo((props: SocialButtonsRootProps) => {
isDisabled={card.isLoading}
src={strategyToDisplayData[strategy].iconUrl}
alt={`Sign in with ${strategyToDisplayData[strategy].name}`}
sx={theme => ({ width: theme.sizes.$5 })}
sx={theme => ({ width: theme.sizes.$5, height: 'auto', maxWidth: '100%' })}
/>
}
/>
Expand Down

0 comments on commit 92a152c

Please sign in to comment.