Skip to content

Commit

Permalink
fix(apps): email OTP logo+email OTP overflow (#2579)
Browse files Browse the repository at this point in the history
  • Loading branch information
poolsar42 committed Aug 4, 2023
1 parent 003cac8 commit 5fdab37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ export default function EmailOTPValidator({
<section className="flex-1">
<div className="flex flex-col items-center mt-4 mb-8">
<Text className="text-gray-500 dark:text-gray-400">
We've sent a code to
We&apos;ve sent a code to
</Text>
<Text className="text-gray-500 dark:text-gray-400 font-medium">
<Text className="text-gray-500 dark:text-gray-400 font-medium w-[368px] inline-block float-left whitespace-nowrap truncate">
{email}
</Text>
</div>
Expand Down
4 changes: 3 additions & 1 deletion platform/email/emailTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ const EmailTemplateBase = (
}
.logo {
display: block
max-width: 375px;
max-height: 48px;
margin-bottom: 37px;
}
Expand Down Expand Up @@ -167,7 +169,7 @@ const EmailTemplateBase = (
<div class="container adaptive">
<div class="content adaptive">
<div class="heading-logo">
<img class="logo" src="${logoURL}" alt="" style="display: block" />
<img class="logo" src="${logoURL}" alt="" style="display:block; max-width: 375px; max-height: 48px;"/>
</div>
${content}
<div class="divider"></div>
Expand Down

0 comments on commit 5fdab37

Please sign in to comment.