Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

fix: add truncate filter to the wallet balance in the profile #1634

Merged
merged 5 commits into from
Feb 14, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified __tests__/unit/pages/Profile/ProfileAll.spec.js
100644 → 100755
Empty file.
6 changes: 5 additions & 1 deletion src/renderer/pages/Profile/ProfileAll.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
{{ profile.name | truncate(12) }}
</div>

<span class="font-bold my-2 text-lg">
<span class="ProfileAll__grid__profile__balance">
{{ profileBalance(profile) }}
</span>

Expand Down Expand Up @@ -206,6 +206,10 @@ export default {
.ProfileAll__grid__profile__name {
width: var(--profile-avatar-xl);
}
.ProfileAll__grid__profile__balance {
max-width: 10rem;
@apply .font-bold .my-2 .text-lg .truncate .inline-block;
}

.ProfileAll .ProfileAvatar {
@apply .flex
Expand Down