Skip to content

Commit

Permalink
adjust padding on buttons (#1504)
Browse files Browse the repository at this point in the history
  • Loading branch information
piyalbasu authored Oct 3, 2024
1 parent d8560f5 commit 2128740
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -576,15 +576,7 @@ export const TransactionDetails = ({ goBack }: { goBack: () => void }) => {
) : null
}
/>
<View.Content
contentFooter={
<div className="TransactionDetails__bottom-wrapper__copy">
{(isPathPayment || isSwap) &&
submission.submitStatus !== ActionStatus.SUCCESS &&
t("The final amount is approximate and may change")}
</div>
}
>
<View.Content>
{!(isPathPayment || isSwap) && (
<div className="TransactionDetails__cards">
<Card>
Expand Down Expand Up @@ -726,6 +718,11 @@ export const TransactionDetails = ({ goBack }: { goBack: () => void }) => {
)}
</div>
</View.Content>
<div className="TransactionDetails__bottom-wrapper__copy">
{(isPathPayment || isSwap) &&
submission.submitStatus !== ActionStatus.SUCCESS &&
t("The final amount is approximate and may change")}
</div>
<View.Footer isInline>
{submission.submitStatus === ActionStatus.SUCCESS ? (
<StellarExpertButton />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
align-items: center;
text-align: center;
justify-content: center;
padding-top: 1rem;
}
}

Expand Down
2 changes: 1 addition & 1 deletion extension/src/popup/views/Account/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
&__assets-button {
display: flex;
justify-content: center;
margin-bottom: 1.5rem;
margin-top: 1.5rem;
}

&__fetch-fail {
Expand Down

0 comments on commit 2128740

Please sign in to comment.