Skip to content

Commit a7f0ba8

Browse files
committed
Fix image rendering
1 parent 794ea50 commit a7f0ba8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

app/components/UI/Rewards/components/Campaigns/tour/CampaignTourStep.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { useTailwind } from '@metamask/design-system-twrnc-preset';
44
import {
55
Text,
66
Box,
7-
BoxAlignItems,
87
BoxJustifyContent,
98
TextColor,
109
TextVariant,
@@ -56,9 +55,8 @@ const CampaignTourStep: React.FC<CampaignTourStepProps> = ({ step }) => {
5655

5756
{step.image && (
5857
<Box
59-
twClassName="flex-1"
58+
twClassName="flex-1 w-full"
6059
justifyContent={BoxJustifyContent.Center}
61-
alignItems={BoxAlignItems.Center}
6260
>
6361
<RewardsThemeImageComponent
6462
themeImage={step.image}

0 commit comments

Comments
 (0)