Skip to content

Commit 3e61a06

Browse files
prevent info icon from repositioning when text wraps on small screens (calcom#22132)
Co-authored-by: Kartik Saini <41051387+kart1ka@users.noreply.github.com>
1 parent 85c9a79 commit 3e61a06

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

apps/web/modules/settings/my-account/profile-view.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,8 +652,9 @@ const ProfileForm = ({
652652
/>
653653
</div>
654654
{extraField}
655-
<p className="text-subtle mt-1 flex items-center gap-1 text-sm">
656-
<Icon name="info" /> {t("tip_username_plus")}
655+
<p className="text-subtle mt-1 flex gap-1 text-sm">
656+
<Icon name="info" className="mt-0.5 flex-shrink-0" />
657+
<span className="flex-1">{t("tip_username_plus")}</span>
657658
</p>
658659
<div className="mt-6">
659660
<TextField label={t("full_name")} {...formMethods.register("name")} />

0 commit comments

Comments
 (0)