Skip to content

Commit

Permalink
adjust popover left position to prevent overflow in zh locale
Browse files Browse the repository at this point in the history
  • Loading branch information
BboyStatix committed Aug 30, 2024
1 parent 44f3cbf commit 6c09a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/SocialLoginPasswordless.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default function SocialLoginPasswordless(props: SocialLoginPasswordlessPr
<div className="w-3 h-3 ml-[3px] -mb-2 rotate-45 bg-app-gray-50 dark:bg-app-gray-600" />
<div
className={`relative p-4 w-[300px] text-xs leading-none text-app-white rounded-md bg-app-gray-50 dark:bg-app-gray-600 shadow-lg ${
isSmsVisible && !isEmailVisible ? "left-20" : "left-6"
isSmsVisible && !isEmailVisible ? "left-20" : "left-8"
}`}
>
<div className="mb-1 text-xs font-medium text-app-gray-900 dark:text-app-white">{t("modal.popup.phone-header")}</div>
Expand Down

0 comments on commit 6c09a7f

Please sign in to comment.