Skip to content

Commit

Permalink
Fix some buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Sep 22, 2021
1 parent 158e067 commit e9d1e67
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/TransactionFlow/MultiTxReceipt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default function MultiTxReceipt({
</Button>
)}
<LinkApp href={ROUTE_PATHS.DASHBOARD.path}>
<Button className="TransactionReceipt-back">
<Button width="100%" mb="25px">
{translate('TRANSACTION_BROADCASTED_BACK_TO_DASHBOARD')}
</Button>
</LinkApp>
Expand Down
4 changes: 0 additions & 4 deletions src/components/TransactionFlow/TxReceipt.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@
&-tweet-text {
flex: 1;
}
&-back {
width: 100%;
margin-bottom: 25px;
}
&-detailButton {
width: 100%;
margin-bottom: 15px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/TransactionFlow/TxReceipt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ export const TxReceiptUI = ({
</Tooltip>
)}
<LinkApp href={ROUTE_PATHS.DASHBOARD.path}>
<Button className="TransactionReceipt-back">
<Button width="100%" mb="25px">
{translate('TRANSACTION_BROADCASTED_BACK_TO_DASHBOARD')}
</Button>
</LinkApp>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button } from '@mycrypto/ui';
import { Button } from '@mycrypto/ui-legacy';
import styled from 'styled-components';

import backArrowIcon from '@assets/images/icn-back-arrow.svg';
Expand Down

0 comments on commit e9d1e67

Please sign in to comment.