diff --git a/CHANGELOG.md b/CHANGELOG.md index a5e16079..5d55f343 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Removed the _Admin_ user from the database seeding - Assigned the role `ADMIN` on sign up (only if there is no admin yet) +### Fixed + +- Fixed the horizontal overflow in the accounts table +- Fixed the horizontal overflow in the activities table + ### Todo - Apply data migration (`yarn database:migrate`) diff --git a/apps/client/src/app/pages/about/about-page.component.ts b/apps/client/src/app/pages/about/about-page.component.ts index 2abc6ec8..ab4fdb57 100644 --- a/apps/client/src/app/pages/about/about-page.component.ts +++ b/apps/client/src/app/pages/about/about-page.component.ts @@ -11,7 +11,7 @@ import { takeUntil } from 'rxjs/operators'; import { environment } from '../../../environments/environment'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-about-page', styleUrls: ['./about-page.scss'], templateUrl: './about-page.html' diff --git a/apps/client/src/app/pages/about/changelog/changelog-page.component.ts b/apps/client/src/app/pages/about/changelog/changelog-page.component.ts index a9f383b8..74f39c9a 100644 --- a/apps/client/src/app/pages/about/changelog/changelog-page.component.ts +++ b/apps/client/src/app/pages/about/changelog/changelog-page.component.ts @@ -2,7 +2,7 @@ import { Component, OnDestroy } from '@angular/core'; import { Subject } from 'rxjs'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-changelog-page', styleUrls: ['./changelog-page.scss'], templateUrl: './changelog-page.html' diff --git a/apps/client/src/app/pages/account/account-page.component.ts b/apps/client/src/app/pages/account/account-page.component.ts index df7f81be..7aed7479 100644 --- a/apps/client/src/app/pages/account/account-page.component.ts +++ b/apps/client/src/app/pages/account/account-page.component.ts @@ -31,7 +31,7 @@ import { catchError, switchMap, takeUntil } from 'rxjs/operators'; import { CreateOrUpdateAccessDialog } from './create-or-update-access-dialog/create-or-update-access-dialog.component'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-account-page', styleUrls: ['./account-page.scss'], templateUrl: './account-page.html' diff --git a/apps/client/src/app/pages/accounts/accounts-page.component.ts b/apps/client/src/app/pages/accounts/accounts-page.component.ts index 53191835..8c3e145a 100644 --- a/apps/client/src/app/pages/accounts/accounts-page.component.ts +++ b/apps/client/src/app/pages/accounts/accounts-page.component.ts @@ -16,7 +16,7 @@ import { takeUntil } from 'rxjs/operators'; import { CreateOrUpdateAccountDialog } from './create-or-update-account-dialog/create-or-update-account-dialog.component'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-accounts-page', styleUrls: ['./accounts-page.scss'], templateUrl: './accounts-page.html' diff --git a/apps/client/src/app/pages/accounts/accounts-page.html b/apps/client/src/app/pages/accounts/accounts-page.html index 2afbfc95..117a1f5d 100644 --- a/apps/client/src/app/pages/accounts/accounts-page.html +++ b/apps/client/src/app/pages/accounts/accounts-page.html @@ -1,19 +1,21 @@
-
+

Accounts

- +
+ +
diff --git a/apps/client/src/app/pages/accounts/accounts-page.scss b/apps/client/src/app/pages/accounts/accounts-page.scss index c10640da..307bf0f3 100644 --- a/apps/client/src/app/pages/accounts/accounts-page.scss +++ b/apps/client/src/app/pages/accounts/accounts-page.scss @@ -1,6 +1,10 @@ :host { display: block; + .accounts { + overflow-x: auto; + } + .fab-container { position: fixed; right: 2rem; diff --git a/apps/client/src/app/pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page.component.ts b/apps/client/src/app/pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page.component.ts index f5282bc2..04b4f79f 100644 --- a/apps/client/src/app/pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page.component.ts +++ b/apps/client/src/app/pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page.component.ts @@ -1,7 +1,7 @@ import { Component } from '@angular/core'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-hallo-ghostfolio-page', styleUrls: ['./hallo-ghostfolio-page.scss'], templateUrl: './hallo-ghostfolio-page.html' diff --git a/apps/client/src/app/pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page.component.ts b/apps/client/src/app/pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page.component.ts index 1a5cd413..e9a0a738 100644 --- a/apps/client/src/app/pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page.component.ts +++ b/apps/client/src/app/pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page.component.ts @@ -1,7 +1,7 @@ import { Component } from '@angular/core'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-hello-ghostfolio-page', styleUrls: ['./hello-ghostfolio-page.scss'], templateUrl: './hello-ghostfolio-page.html' diff --git a/apps/client/src/app/pages/blog/2022/01/first-months-in-open-source/first-months-in-open-source-page.component.ts b/apps/client/src/app/pages/blog/2022/01/first-months-in-open-source/first-months-in-open-source-page.component.ts index 84e5aae4..1fe69b79 100644 --- a/apps/client/src/app/pages/blog/2022/01/first-months-in-open-source/first-months-in-open-source-page.component.ts +++ b/apps/client/src/app/pages/blog/2022/01/first-months-in-open-source/first-months-in-open-source-page.component.ts @@ -1,7 +1,7 @@ import { Component } from '@angular/core'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-first-months-in-open-source-page', styleUrls: ['./first-months-in-open-source-page.scss'], templateUrl: './first-months-in-open-source-page.html' diff --git a/apps/client/src/app/pages/blog/blog-page.component.ts b/apps/client/src/app/pages/blog/blog-page.component.ts index c07c91ee..c9176625 100644 --- a/apps/client/src/app/pages/blog/blog-page.component.ts +++ b/apps/client/src/app/pages/blog/blog-page.component.ts @@ -2,7 +2,7 @@ import { Component, OnDestroy } from '@angular/core'; import { Subject } from 'rxjs'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-blog-page', styleUrls: ['./blog-page.scss'], templateUrl: './blog-page.html' diff --git a/apps/client/src/app/pages/landing/landing-page.component.ts b/apps/client/src/app/pages/landing/landing-page.component.ts index ed7ca9b7..9e853c18 100644 --- a/apps/client/src/app/pages/landing/landing-page.component.ts +++ b/apps/client/src/app/pages/landing/landing-page.component.ts @@ -6,7 +6,7 @@ import { format } from 'date-fns'; import { Subject } from 'rxjs'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-landing-page', styleUrls: ['./landing-page.scss'], templateUrl: './landing-page.html' diff --git a/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts b/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts index 82a7fdcc..f170a541 100644 --- a/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts +++ b/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts @@ -20,7 +20,7 @@ import { Subject, Subscription } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-allocations-page', styleUrls: ['./allocations-page.scss'], templateUrl: './allocations-page.html' diff --git a/apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts b/apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts index 9cf798a1..8f771e71 100644 --- a/apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts +++ b/apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts @@ -11,7 +11,7 @@ import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-analysis-page', styleUrls: ['./analysis-page.scss'], templateUrl: './analysis-page.html' diff --git a/apps/client/src/app/pages/portfolio/portfolio-page.component.ts b/apps/client/src/app/pages/portfolio/portfolio-page.component.ts index a2947219..cacdc93a 100644 --- a/apps/client/src/app/pages/portfolio/portfolio-page.component.ts +++ b/apps/client/src/app/pages/portfolio/portfolio-page.component.ts @@ -7,7 +7,7 @@ import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-portfolio-page', styleUrls: ['./portfolio-page.scss'], templateUrl: './portfolio-page.html' diff --git a/apps/client/src/app/pages/portfolio/report/report-page.component.ts b/apps/client/src/app/pages/portfolio/report/report-page.component.ts index 057923d0..17bca2bc 100644 --- a/apps/client/src/app/pages/portfolio/report/report-page.component.ts +++ b/apps/client/src/app/pages/portfolio/report/report-page.component.ts @@ -7,7 +7,7 @@ import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-report-page', styleUrls: ['./report-page.scss'], templateUrl: './report-page.html' diff --git a/apps/client/src/app/pages/portfolio/transactions/transactions-page.component.ts b/apps/client/src/app/pages/portfolio/transactions/transactions-page.component.ts index abd99042..5d165c40 100644 --- a/apps/client/src/app/pages/portfolio/transactions/transactions-page.component.ts +++ b/apps/client/src/app/pages/portfolio/transactions/transactions-page.component.ts @@ -24,7 +24,7 @@ import { CreateOrUpdateTransactionDialog } from './create-or-update-transaction- import { ImportTransactionDialog } from './import-transaction-dialog/import-transaction-dialog.component'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-transactions-page', styleUrls: ['./transactions-page.scss'], templateUrl: './transactions-page.html' diff --git a/apps/client/src/app/pages/pricing/pricing-page.component.ts b/apps/client/src/app/pages/pricing/pricing-page.component.ts index 1124b674..eee7be44 100644 --- a/apps/client/src/app/pages/pricing/pricing-page.component.ts +++ b/apps/client/src/app/pages/pricing/pricing-page.component.ts @@ -7,7 +7,7 @@ import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-pricing-page', styleUrls: ['./pricing-page.scss'], templateUrl: './pricing-page.html' diff --git a/apps/client/src/app/pages/public/public-page.component.ts b/apps/client/src/app/pages/public/public-page.component.ts index 3a9ad920..a3ac4372 100644 --- a/apps/client/src/app/pages/public/public-page.component.ts +++ b/apps/client/src/app/pages/public/public-page.component.ts @@ -13,7 +13,7 @@ import { EMPTY, Subject } from 'rxjs'; import { catchError, takeUntil } from 'rxjs/operators'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-public-page', styleUrls: ['./public-page.scss'], templateUrl: './public-page.html' diff --git a/apps/client/src/app/pages/register/register-page.component.ts b/apps/client/src/app/pages/register/register-page.component.ts index f7da483d..086e36e4 100644 --- a/apps/client/src/app/pages/register/register-page.component.ts +++ b/apps/client/src/app/pages/register/register-page.component.ts @@ -14,7 +14,7 @@ import { takeUntil } from 'rxjs/operators'; import { ShowAccessTokenDialog } from './show-access-token-dialog/show-access-token-dialog.component'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-register-page', styleUrls: ['./register-page.scss'], templateUrl: './register-page.html' diff --git a/apps/client/src/app/pages/resources/resources-page.component.ts b/apps/client/src/app/pages/resources/resources-page.component.ts index 71bc3e31..a771e3ae 100644 --- a/apps/client/src/app/pages/resources/resources-page.component.ts +++ b/apps/client/src/app/pages/resources/resources-page.component.ts @@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core'; import { Subject } from 'rxjs'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-resources-page', styleUrls: ['./resources-page.scss'], templateUrl: './resources-page.html' diff --git a/apps/client/src/app/pages/webauthn/webauthn-page.component.ts b/apps/client/src/app/pages/webauthn/webauthn-page.component.ts index 3a63eed5..de3b29d6 100644 --- a/apps/client/src/app/pages/webauthn/webauthn-page.component.ts +++ b/apps/client/src/app/pages/webauthn/webauthn-page.component.ts @@ -6,7 +6,7 @@ import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; @Component({ - host: { class: 'mb-5' }, + host: { class: 'page' }, selector: 'gf-webauthn-page', styleUrls: ['./webauthn-page.scss'], templateUrl: './webauthn-page.html' diff --git a/apps/client/src/styles.scss b/apps/client/src/styles.scss index eb162f9f..12f0f3a2 100644 --- a/apps/client/src/styles.scss +++ b/apps/client/src/styles.scss @@ -164,6 +164,10 @@ ngx-skeleton-loader { min-width: unset !important; } +.page { + padding-bottom: 5rem; +} + .svgMap-tooltip { border-bottom: none; diff --git a/libs/ui/src/lib/activities-table/activities-table.component.html b/libs/ui/src/lib/activities-table/activities-table.component.html index 31475941..d7a880d7 100644 --- a/libs/ui/src/lib/activities-table/activities-table.component.html +++ b/libs/ui/src/lib/activities-table/activities-table.component.html @@ -36,314 +36,334 @@ - - - - - - - - - - - - - - - + + +
- {{ dataSource.data.length - i }} - - Date - -
- {{ element.date | date: defaultDateFormat }} -
-
Total - Type - -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + + + + + + + - - - -
- + Date + +
+ {{ element.date | date: defaultDateFormat }} +
+
Total + Type + +
+ + {{ element.type }} +
+
+ Symbol + +
+ {{ element.symbol | gfSymbol }} + Draft +
+
+ Currency + + {{ element.currency }} + + {{ baseCurrency }} + + Quantity + +
+ +
+
+ Unit Price + +
+ +
+
+ Fee + +
+ +
+
+
+ +
+
+ Value + +
+ +
+
+
+ +
+
+ Account + +
+ + {{ element.Account?.name }} +
+
+ - Symbol - -
- {{ element.symbol | gfSymbol }} - Draft -
-
- Currency - - {{ element.currency }} - - {{ baseCurrency }} - - Quantity - -
- -
-
- Unit Price - -
- -
-
- Fee - -
- -
-
-
- -
-
- Value - -
- -
-
-
- -
-
- Account - -
- - {{ element.Account?.name }} -
-
- - + + + + + + + - - - - - - - - - - -
+
+