diff --git a/CHANGELOG.md b/CHANGELOG.md index b51ced82a..12254fd9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Harmonized the style of the create button on the page for granting and revoking public access to share the portfolio - Improved the language localization for German (`de`) ## 2.10.0 - 2023-10-09 diff --git a/apps/client/src/app/components/access-table/access-table.component.html b/apps/client/src/app/components/access-table/access-table.component.html index 498e73bf0..589c67e1f 100644 --- a/apps/client/src/app/components/access-table/access-table.component.html +++ b/apps/client/src/app/components/access-table/access-table.component.html @@ -1,15 +1,3 @@ -
- - Add Access - -
- diff --git a/apps/client/src/app/components/access-table/access-table.component.ts b/apps/client/src/app/components/access-table/access-table.component.ts index 298a02069..c0db8fb2f 100644 --- a/apps/client/src/app/components/access-table/access-table.component.ts +++ b/apps/client/src/app/components/access-table/access-table.component.ts @@ -19,7 +19,6 @@ import { Access } from '@ghostfolio/common/interfaces'; }) export class AccessTableComponent implements OnChanges, OnInit { @Input() accesses: Access[]; - @Input() hasPermissionToCreateAccess = false; @Input() showActions: boolean; @Output() accessDeleted = new EventEmitter(); diff --git a/apps/client/src/app/components/admin-market-data/admin-market-data.scss b/apps/client/src/app/components/admin-market-data/admin-market-data.scss index 50901445b..b5b58f67e 100644 --- a/apps/client/src/app/components/admin-market-data/admin-market-data.scss +++ b/apps/client/src/app/components/admin-market-data/admin-market-data.scss @@ -2,11 +2,4 @@ :host { display: block; - - .fab-container { - bottom: 2rem; - position: fixed; - right: 2rem; - z-index: 999; - } } diff --git a/apps/client/src/app/components/user-account-access/user-account-access.html b/apps/client/src/app/components/user-account-access/user-account-access.html index c3aa485cd..392337a83 100644 --- a/apps/client/src/app/components/user-account-access/user-account-access.html +++ b/apps/client/src/app/components/user-account-access/user-account-access.html @@ -10,8 +10,18 @@ +
+ + + +
diff --git a/apps/client/src/app/components/user-account-access/user-account-access.module.ts b/apps/client/src/app/components/user-account-access/user-account-access.module.ts index 76495db63..0388dd244 100644 --- a/apps/client/src/app/components/user-account-access/user-account-access.module.ts +++ b/apps/client/src/app/components/user-account-access/user-account-access.module.ts @@ -7,6 +7,7 @@ import { GfPremiumIndicatorModule } from '@ghostfolio/ui/premium-indicator'; import { GfCreateOrUpdateAccessDialogModule } from './create-or-update-access-dialog/create-or-update-access-dialog.module'; import { UserAccountAccessComponent } from './user-account-access.component'; +import { MatButtonModule } from '@angular/material/button'; @NgModule({ declarations: [UserAccountAccessComponent], @@ -16,6 +17,7 @@ import { UserAccountAccessComponent } from './user-account-access.component'; GfCreateOrUpdateAccessDialogModule, GfPortfolioAccessTableModule, GfPremiumIndicatorModule, + MatButtonModule, MatDialogModule, RouterModule ] diff --git a/apps/client/src/app/pages/accounts/accounts-page.scss b/apps/client/src/app/pages/accounts/accounts-page.scss index 307bf0f32..32e9fe146 100644 --- a/apps/client/src/app/pages/accounts/accounts-page.scss +++ b/apps/client/src/app/pages/accounts/accounts-page.scss @@ -4,11 +4,4 @@ .accounts { overflow-x: auto; } - - .fab-container { - position: fixed; - right: 2rem; - bottom: 2rem; - z-index: 999; - } } diff --git a/apps/client/src/app/pages/portfolio/activities/activities-page.scss b/apps/client/src/app/pages/portfolio/activities/activities-page.scss index c10640da3..5d4e87f30 100644 --- a/apps/client/src/app/pages/portfolio/activities/activities-page.scss +++ b/apps/client/src/app/pages/portfolio/activities/activities-page.scss @@ -1,10 +1,3 @@ :host { display: block; - - .fab-container { - position: fixed; - right: 2rem; - bottom: 2rem; - z-index: 999; - } } diff --git a/apps/client/src/styles.scss b/apps/client/src/styles.scss index 26f8a4a48..8e79de778 100644 --- a/apps/client/src/styles.scss +++ b/apps/client/src/styles.scss @@ -491,6 +491,13 @@ ngx-skeleton-loader { flex-direction: column; overflow-y: auto; + .fab-container { + bottom: 2rem; + position: fixed; + right: 2rem; + z-index: 999; + } + &:not(.has-tabs) { @media (min-width: 576px) { padding: 2rem 0; @@ -502,6 +509,10 @@ ngx-skeleton-loader { padding-bottom: env(safe-area-inset-bottom); padding-bottom: constant(safe-area-inset-bottom); + .fab-container { + bottom: 5rem; + } + .mat-mdc-tab-nav-bar { --mat-tab-header-active-focus-indicator-color: transparent; --mat-tab-header-active-hover-indicator-color: transparent;
Alias