Skip to content

Commit 4d2f370

Browse files
authored
Merge pull request #699 from PayButton/fix/no-spacing-between-addresses-txs
[#698] fix: space between addresses txs
2 parents 699efdc + 830ecfa commit 4d2f370

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

components/Transaction/AddressTransactions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default ({ addressTransactions, addressSynced }: IProps): FunctionCompone
7878
return (
7979
<>
8080
{Object.keys(addressTransactions).map(transactionAddress => (
81-
<div key={transactionAddress}>
81+
<div key={transactionAddress} className='address-transactions-ctn'>
8282
<div className={style.tablelabel}>{transactionAddress}</div>
8383
{ addressTransactions[transactionAddress].length === 0
8484
? <div className={style.transaction_ctn}> {
@@ -87,7 +87,7 @@ export default ({ addressTransactions, addressSynced }: IProps): FunctionCompone
8787
</div>
8888
: <TableContainer columns={columns} data={addressTransactions[transactionAddress]} />
8989
}
90-
</div>
90+
</div>
9191

9292
))}
9393
</>

components/Transaction/transaction.module.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@
6565

6666
.tablelabel {
6767
background-color: var(--secondary-bg-color);
68-
border-radius: 10px;
68+
border-radius: 10px 10px 0 0;
6969
padding: 20px;
70-
margin-bottom: -5px;
7170
}
7271

7372
/*********************** COPY BUTTON **************************/

styles/global.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ button:enabled:hover {
107107
margin-top: 15px;
108108
}
109109

110+
.address-transactions-ctn .paybutton-table-ctn {
111+
border-radius: 0 0 10px 10px;
112+
margin-top: 2px;
113+
margin-bottom: 20px;
114+
}
115+
110116
.paybutton-table-ctn table {
111117
width: 100%;
112118
display: table;

0 commit comments

Comments
 (0)