diff options
author | Sebastian <sebasjm@gmail.com> | 2021-07-13 15:33:28 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-07-13 15:33:28 -0300 |
commit | 99163fe80d66a947d309842ad9565c6cc0bd2f78 (patch) | |
tree | 4c0191f23e311f5d48ab580f9a3083d98e60b152 /packages/taler-wallet-webextension/src/popup/BackupPage.tsx | |
parent | a2ff528c66255e8872fc85aadca471335c46ac2b (diff) | |
download | wallet-core-99163fe80d66a947d309842ad9565c6cc0bd2f78.tar.gz wallet-core-99163fe80d66a947d309842ad9565c6cc0bd2f78.tar.bz2 wallet-core-99163fe80d66a947d309842ad9565c6cc0bd2f78.zip |
refactored transaction details
Diffstat (limited to 'packages/taler-wallet-webextension/src/popup/BackupPage.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/popup/BackupPage.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-webextension/src/popup/BackupPage.tsx b/packages/taler-wallet-webextension/src/popup/BackupPage.tsx index c2067ad21..9428922d5 100644 --- a/packages/taler-wallet-webextension/src/popup/BackupPage.tsx +++ b/packages/taler-wallet-webextension/src/popup/BackupPage.tsx @@ -21,7 +21,7 @@ import { differenceInMonths, formatDuration, intervalToDuration } from "date-fns import { FunctionalComponent, Fragment, JSX, VNode, AnyComponent } from "preact"; import { BoldLight, ButtonPrimary, ButtonSuccess, Centered, - CenteredText, CenteredTextBold, PopupBox, Row, + CenteredText, CenteredTextBold, PopupBox, RowBorderGray, SmallText, SmallTextLight } from "../components/styled"; import { useBackupStatus } from "../hooks/useBackupStatus"; @@ -94,12 +94,12 @@ function BackupLayout(props: TransactionLayoutProps): JSX.Element { return ( - <Row> + <RowBorderGray> <div style={{ color: !props.active ? "grey" : undefined }}> <a href={Pages.provider_detail.replace(':pid', encodeURIComponent(props.id))}><span>{props.title}</span></a> - {dateStr && <SmallText>Last synced: {dateStr}</SmallText>} - {!dateStr && <SmallTextLight>Not synced</SmallTextLight>} + {dateStr && <SmallText style={{marginTop: 5}}>Last synced: {dateStr}</SmallText>} + {!dateStr && <SmallTextLight style={{marginTop: 5}}>Not synced</SmallTextLight>} </div> <div> {props.status?.type === 'paid' ? @@ -107,7 +107,7 @@ function BackupLayout(props: TransactionLayoutProps): JSX.Element { <div>{props.status.type}</div> } </div> - </Row> + </RowBorderGray> ); } |