Skip to content

Commit

Permalink
fix(wallet): fees warning alignment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nithishvb authored and pete-watters committed Dec 18, 2023
1 parent e19eea4 commit d771bcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/fees-row/components/fees-row.layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function FeesRowLayout(props: FeesRowLayoutProps) {
const [_, meta] = useField('fee');

return (
<HStack gap="space.04" width="100%" {...rest}>
<HStack gap="space.04" width="100%" {...rest} flexWrap="wrap">
<HStack alignItems="center" justifyContent="space-between" position="relative" width="100%">
<HStack alignItems="center" width="100%">
<Tooltip label={feesInfo} placement="bottom">
Expand All @@ -39,7 +39,7 @@ export function FeesRowLayout(props: FeesRowLayoutProps) {
{feeField}
</HStack>
{isSponsored && <SponsoredLabel />}
{!meta.error && fieldWarning && <WarningLabel>{fieldWarning}</WarningLabel>}
{!meta.error && fieldWarning && <WarningLabel width="100%" >{fieldWarning}</WarningLabel>}
</HStack>
);
}

0 comments on commit d771bcc

Please sign in to comment.