Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
fix(history): fix history element spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
makobi committed Mar 14, 2018
1 parent 3301342 commit 431a725
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
4 changes: 4 additions & 0 deletions app/components/account-card/styles.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
a {
outline: none;

&.active .account-card-content {
transform: scale(1.10) !important;
}
}

.account-card-content {
Expand Down
36 changes: 22 additions & 14 deletions app/components/account-history-entry/template.hbs
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
<div class="col-lg-10 col-11 history-item send d-flex justify-content-around align-items-center">
{{#if (eq entry.type 'send')}}
{{fa-icon "paper-plane" class="send" ariaLabel=(t 'send')}}
{{else}}
{{fa-icon "envelope-open" class="receive" ariaLabel=(t 'receive')}}
{{/if}}
<p>
<sup>
<img src="images/nano-icon.svg" alt="{{t 'NANO'}}">
</sup>
{{format-amount entry.amount}}
</p>
<p class="text-truncate">
{{account-address value=entry.account}}
</p>
<div class="row w-100">
<div class="col-12 col-sm-2 justify-content-center d-flex">
{{#if (eq entry.type 'send')}}
{{fa-icon "paper-plane" class="send" ariaLabel=(t 'send')}}
{{else}}
{{fa-icon "envelope-open" class="receive" ariaLabel=(t 'receive')}}
{{/if}}
</div>
<div class="col-12 col-sm-5 justify-content-center d-flex">
<p>
<sup>
<img src="images/nano-icon.svg" alt="{{t 'NANO'}}">
</sup>
{{format-amount entry.amount}}
</p>
</div>
<div class="col-12 col-sm-5 justify-content-center d-flex">
<p class="text-truncate">
{{account-address value=entry.account}}
</p>
</div>
</div>
</div>

0 comments on commit 431a725

Please sign in to comment.