diff --git a/src/app/transactions/transaction-list/transaction-list.component.css b/src/app/transactions/transaction-list/transaction-list.component.css index 8e4dd44..329c200 100644 --- a/src/app/transactions/transaction-list/transaction-list.component.css +++ b/src/app/transactions/transaction-list/transaction-list.component.css @@ -1,5 +1,9 @@ -.transactions .list-row-one { - display: flex; - justify-content: space-between; - padding-bottom: 0.2em; +.transaction-details p { + padding: 2px 0; } + +.transaction-description { + font-style: italic; + text-overflow: ellipsis; + overflow: hidden; +} \ No newline at end of file diff --git a/src/app/transactions/transaction-list/transaction-list.component.html b/src/app/transactions/transaction-list/transaction-list.component.html index bb02378..6101e1c 100644 --- a/src/app/transactions/transaction-list/transaction-list.component.html +++ b/src/app/transactions/transaction-list/transaction-list.component.html @@ -1,12 +1,13 @@ - -
-

{{transaction.title}}

-

- {{ transaction.amount / 100 | currency }} -

+
+

{{transaction.title}}

+

{{transaction.description }}

+

{{ transaction.date | date }}

-

{{ transaction.date | date }}

+

+ {{ transaction.amount / 100 | currency }} +

\ No newline at end of file diff --git a/src/styles.css b/src/styles.css index b73bc15..af0097d 100644 --- a/src/styles.css +++ b/src/styles.css @@ -20,7 +20,7 @@ a.mat-fab { } .text-small { - font-size: 1em; + font-size: 90%; color: #333333; }