Merge branch 'fix-dashboard-style' of billy/budget into master

This commit is contained in:
Billy Brawner 2018-09-02 19:29:10 -05:00 committed by Gitea
commit 6decda838b
2 changed files with 9 additions and 2 deletions

View file

@ -38,7 +38,7 @@
.dashboard-primary div {
bottom: 0.5em;
display: flex;
justify-content: space-between;
justify-content: flex-end;
left: 0.5em;
right: 0.5em;
position: absolute;
@ -55,6 +55,11 @@
padding: 1em;
}
.dashboard .no-categories p {
line-height: normal;
white-space: normal;
}
a.view-all {
position: absolute;
right: 0.5em;

View file

@ -12,7 +12,6 @@
<span [ngClass]="{'income': balance > 0, 'expense': balance < 0}" >{{ balance | currency }}</span>
</h2>
<div class="transaction-navigation">
<a mat-button routerLink="/transactions/new">Add Transaction</a>
<a mat-button routerLink="/transactions">View Transactions</a>
</div>
</div>
@ -28,3 +27,6 @@
<app-category-list [categories]="categories" [categoryBalances]="categoryBalances"></app-category-list>
</div>
</div>
<a mat-fab routerLink="/transactions/new">
<mat-icon aria-label="Add">add</mat-icon>
</a>