Skip to content

Commit

Permalink
fix: resize info icon on small screen
Browse files Browse the repository at this point in the history
  • Loading branch information
bunsy-0900 committed Jan 16, 2024
1 parent 1508a7e commit 62aebc4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const ResetPassword = ({ methods, settings }: ResetPasswordProps) => {
<FormLabel>{t("new_password")}</FormLabel>
<LabelPopover
icon={
<Icons.info className="h-4 w-4 cursor-pointer" />
<Icons.info className="h-4 h-4 cursor-pointer sm:h-3 sm:w-3" />
}
>
<Trans
Expand Down
8 changes: 6 additions & 2 deletions signup-ui/src/pages/SignUpPage/AccountSetup/AccountSetup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@ export const AccountSetup = ({ settings, methods }: AccountSetupProps) => {
<div className="flex items-center gap-1">
<FormLabel>{t("full_name")}</FormLabel>
<LabelPopover
icon={<Icons.info className="h-4 w-4 cursor-pointer" />}
icon={
<Icons.info className="h-4 h-4 cursor-pointer sm:h-3 sm:w-3" />
}
>
<span>{t("full_name_tooltip")}</span>
</LabelPopover>
Expand Down Expand Up @@ -225,7 +227,9 @@ export const AccountSetup = ({ settings, methods }: AccountSetupProps) => {
<div className="flex items-center gap-1">
<FormLabel>{t("password")}</FormLabel>
<LabelPopover
icon={<Icons.info className="h-4 w-4 cursor-pointer" />}
icon={
<Icons.info className="h-4 h-4 cursor-pointer sm:h-3 sm:w-3" />
}
>
<Trans
i18nKey="password_rules"
Expand Down

0 comments on commit 62aebc4

Please sign in to comment.