Skip to content

Commit ae70a20

Browse files
authored
Merge pull request #3714 from aura-nw/bugfix/fix-token-transfer-height
commit fix
2 parents 8a627a8 + 9c9d4c8 commit ae70a20

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

src/app/pages/transaction/cosmos-transaction/cosmos-transaction.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ <h1 class="text--white mb-0">COSMOS Transaction Details</h1>
9292
class="row flex-column flex-lg-row mb-3 mt-3 body token-transfer-wrapper justify-content-between"
9393
*ngIf="isShowTokenTransfer">
9494
<div class="col-12 col-lg-2 text--gray-4 position-sticky top-0">Token transfer</div>
95-
<div class="col-12 col-lg-10 h-100">
95+
<div class="col-12 col-lg-10 h-100 transfer-list">
9696
<app-token-transfer
9797
[transaction]="transaction"
9898
[transferType]="'asset'"
@@ -103,7 +103,7 @@ <h1 class="text--white mb-0">COSMOS Transaction Details</h1>
103103
class="row flex-column flex-lg-row mb-3 mt-3 body token-transfer-wrapper no-border-top justify-content-between"
104104
*ngIf="isShowNFTTransfer">
105105
<div class="col-12 col-lg-2 text--gray-4 position-sticky top-0">NFT transfer</div>
106-
<div class="col-12 col-lg-10 h-100">
106+
<div class="col-12 col-lg-10 h-100 transfer-list">
107107
<app-token-transfer
108108
[transaction]="transaction"
109109
[transferType]="'nft'"

src/app/pages/transaction/cosmos-transaction/cosmos-transaction.component.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@
3535
padding-bottom: 12px;
3636
border-bottom: 1px solid #545454;
3737
flex-wrap: nowrap;
38-
max-height: 250px;
3938
overflow: auto;
4039

40+
.transfer-list {
41+
max-height: 250px;
42+
}
43+
4144
@media (max-width: 768px) {
4245
overflow: unset;
4346
}

src/app/pages/transaction/evm-transaction/evm-transaction.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ <h1 class="text--white mb-0">EVM Transaction Details</h1>
116116
class="row flex-column flex-lg-row mb-3 mt-3 body token-transfer-wrapper justify-content-between"
117117
*ngIf="isShowTokenTransfer">
118118
<div class="col-12 col-lg-2 text--gray-4 position-sticky top-0">Token transfer</div>
119-
<div class="col-12 col-lg-10 h-100">
119+
<div class="col-12 col-lg-10 h-100 transfer-list">
120120
<app-token-transfer
121121
[transaction]="transaction"
122122
[transferType]="'asset'"
@@ -127,7 +127,7 @@ <h1 class="text--white mb-0">EVM Transaction Details</h1>
127127
class="row flex-column flex-lg-row mb-3 mt-3 body token-transfer-wrapper no-border-top justify-content-between"
128128
*ngIf="isShowNFTTransfer">
129129
<div class="col-12 col-lg-2 text--gray-4 position-sticky top-0">NFT transfer</div>
130-
<div class="col-12 col-lg-10 h-100">
130+
<div class="col-12 col-lg-10 h-100 transfer-list">
131131
<app-token-transfer
132132
[transaction]="transaction"
133133
[transferType]="'nft'"

src/app/pages/transaction/evm-transaction/evm-transaction.component.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,12 @@
5757
padding-bottom: 12px;
5858
border-bottom: 1px solid #545454;
5959
flex-wrap: nowrap;
60-
max-height: 250px;
6160
overflow: auto;
6261

62+
.transfer-list {
63+
max-height: 250px;
64+
}
65+
6366
@media (max-width: 768px) {
6467
overflow: unset;
6568
}

0 commit comments

Comments
 (0)