diff --git a/frontend/src/app/components/address-group/address-group.component.html b/frontend/src/app/components/address-group/address-group.component.html
index e7f559ba1..174853600 100644
--- a/frontend/src/app/components/address-group/address-group.component.html
+++ b/frontend/src/app/components/address-group/address-group.component.html
@@ -1,7 +1,8 @@
diff --git a/frontend/src/app/components/address-group/address-group.component.scss b/frontend/src/app/components/address-group/address-group.component.scss
index d99e9b522..fedb57d2d 100644
--- a/frontend/src/app/components/address-group/address-group.component.scss
+++ b/frontend/src/app/components/address-group/address-group.component.scss
@@ -10,6 +10,16 @@
flex-direction: row;
justify-content: space-between;
align-items: start;
+
+ & > * {
+ flex-basis: 0;
+ flex-grow: 1;
+ }
+
+ h3 {
+ text-align: center;
+ margin: 0 1em;
+ }
}
.pagination {
@@ -19,6 +29,8 @@
}
.table {
+ margin-top: 0.5em;
+
td, th {
padding: 0.15rem 0.5rem;
diff --git a/frontend/src/app/components/address-group/address-group.component.ts b/frontend/src/app/components/address-group/address-group.component.ts
index ec9b2ed1d..30bee7543 100644
--- a/frontend/src/app/components/address-group/address-group.component.ts
+++ b/frontend/src/app/components/address-group/address-group.component.ts
@@ -94,7 +94,7 @@ export class AddressGroupComponent implements OnInit, OnDestroy {
- addressBalance.chain_stats.spent_txo_sum
- addressBalance.mempool_stats.spent_txo_sum;
this.balance += this.addresses[address];
- this.confirmed += this.addresses[address];
+ this.confirmed += (addressBalance.chain_stats.funded_txo_sum - addressBalance.chain_stats.spent_txo_sum);
}
this.addressInfo[address] = addressData[2] ? addressData[2] as AddressInformation : null;
}