Skip to content

Commit

Permalink
fix: UI issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarsen136 committed Aug 14, 2023
1 parent 9eb4954 commit 460345b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 19 deletions.
7 changes: 5 additions & 2 deletions components/transfer/Transfer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<div class="is-flex mb-5">
<div class="token-price py-2 px-4 is-flex is-align-items-center">
<img class="mr-2 is-20x20" :src="tokenIcon" alt="token" />
<img class="mr-2 square-20" :src="tokenIcon" alt="token" />
{{ unit }} ${{ currentTokenValue }}
</div>
</div>
Expand Down Expand Up @@ -563,7 +563,10 @@ watch(
width: 32px;
height: 32px;
}
.square-20 {
width: 20px;
height: 20px;
}
.fixed-height {
height: 51px;
}
Expand Down
34 changes: 19 additions & 15 deletions components/transfer/TransferConfirmModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,48 @@
<div
class="modal-width is-flex is-flex-direction-column is-justify-content-space-between">
<div>
<div
<header
class="is-flex is-justify-content-center is-align-items-center header px-6 py-3">
<span class="is-size-5 has-text-weight-bold">
{{ $t('teleport.send') }}
<span class="is-uppercase">{{ unit }}</span>
</span>
<NeoIcon
class="position-right is-clickable mr-6"
<NeoButton
class="position-right mr-6"
variant="text"
icon="close"
pack="fas"
no-shadow
icon-pack="fas"
@click.native="closeModal" />
</div>
</header>
<div
class="px-6 is-scrollable"
:class="{
'is-bordered-top': isExpandList,
}">
:class="[
{
'is-bordered-top': isExpandList,
},
'px-6 is-scrollable',
]">
<div
class="is-flex is-justify-content-space-between is-align-items-center py-4">
<span class="has-text-weight-bold is-size-6">{{
$t('transfers.network')
$t('activity.network')
}}</span>
<div class="is-flex is-align-items-center">
<img class="mr-2 is-24x24" :src="tokenIcon" alt="token" />
<span class="is-flex is-align-items-center">
<img class="mr-2 image is-24x24" :src="tokenIcon" alt="token" />
{{ network }}
</div>
</span>
</div>
<div
class="is-flex is-justify-content-space-between is-align-items-center py-4 is-bordered-top">
<span class="has-text-weight-bold is-size-6 is-capitalized">{{
$t('general.from')
}}</span>
<div class="is-flex is-align-items-center">
<span class="is-flex is-align-items-center">
<Avatar :value="accountId" :size="24" />
<span class="ml-2 is-size-6">
<Identity :address="accountId" hide-identity-popover />
</span>
</div>
</span>
</div>

<div
Expand Down
3 changes: 1 addition & 2 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,10 @@
"addAddress": "Add recipient",
"payMeLink": "Pay me link",
"setSameAmount": "Set one amount that will be sent to all recipients",
"network": "Network",
"sendTo": "Sending to",
"recipients": "recipients",
"totalAmount": "Total Amount",
"transferable": "Transferable"
"transferable": "Transferable"
},
"topCollections": {
"timeFrames": {
Expand Down

0 comments on commit 460345b

Please sign in to comment.