Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/set actions columns of tables to stick at end (#2726)
Thomas Kaul4f9a5f034069
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 0ebfd8462d..ff0111ba7f 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Changed+- Set the actions columns of various tables to stick at the end- Increased the height of the tabs on mobile- Improved the language localization for German (`de`)- Improved the language localization for Türkçe (`tr`)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.htmlindex 589c67e1f6..e9138717d7 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@@ -37,7 +37,7 @@</td></ng-container>- <ng-container matColumnDef="actions">+ <ng-container matColumnDef="actions" stickyEnd><th *matHeaderCellDef class="px-1 text-center" mat-header-cell></th><td *matCellDef="let element" class="px-1 text-center" mat-cell>diff --git a/apps/client/src/app/components/accounts-table/accounts-table.component.html b/apps/client/src/app/components/accounts-table/accounts-table.component.htmlindex b8c9ac4f78..97a87b7165 100644--- a/apps/client/src/app/components/accounts-table/accounts-table.component.html+++ b/apps/client/src/app/components/accounts-table/accounts-table.component.html@@ -241,7 +241,7 @@></td></ng-container>- <ng-container matColumnDef="actions">+ <ng-container matColumnDef="actions" stickyEnd><th *matHeaderCellDef class="px-1 text-center" i18n mat-header-cell></th><td *matCellDef="let element" class="px-1 text-center" mat-cell><buttondiff --git a/apps/client/src/app/components/admin-jobs/admin-jobs.html b/apps/client/src/app/components/admin-jobs/admin-jobs.htmlindex 55224b51ce..81e758ba63 100644--- a/apps/client/src/app/components/admin-jobs/admin-jobs.html+++ b/apps/client/src/app/components/admin-jobs/admin-jobs.html@@ -120,7 +120,7 @@</td></ng-container>- <ng-container matColumnDef="actions">+ <ng-container matColumnDef="actions" stickyEnd><th *matHeaderCellDef class="px-1 py-2" mat-header-cell><buttonclass="mx-1 no-min-width px-2"diff --git a/apps/client/src/app/components/admin-market-data/admin-market-data.html b/apps/client/src/app/components/admin-market-data/admin-market-data.htmlindex 4fabde56d8..99572cb4e2 100644--- a/apps/client/src/app/components/admin-market-data/admin-market-data.html+++ b/apps/client/src/app/components/admin-market-data/admin-market-data.html@@ -129,7 +129,7 @@</td></ng-container>- <ng-container matColumnDef="actions">+ <ng-container matColumnDef="actions" stickyEnd><th *matHeaderCellDef class="px-1 text-center" mat-header-cell><buttonclass="mx-1 no-min-width px-2"diff --git a/apps/client/src/app/components/admin-platform/admin-platform.component.html b/apps/client/src/app/components/admin-platform/admin-platform.component.htmlindex fd860d4409..6d5c84b0f7 100644--- a/apps/client/src/app/components/admin-platform/admin-platform.component.html+++ b/apps/client/src/app/components/admin-platform/admin-platform.component.html@@ -68,7 +68,7 @@</td></ng-container>- <ng-container matColumnDef="actions">+ <ng-container matColumnDef="actions" stickyEnd><th*matHeaderCellDefclass="px-1 text-center"diff --git a/apps/client/src/app/components/admin-tag/admin-tag.component.html b/apps/client/src/app/components/admin-tag/admin-tag.component.htmlindex b08ae96d4b..905c2190c6 100644--- a/apps/client/src/app/components/admin-tag/admin-tag.component.html+++ b/apps/client/src/app/components/admin-tag/admin-tag.component.html@@ -48,7 +48,7 @@</td></ng-container>- <ng-container matColumnDef="actions">+ <ng-container matColumnDef="actions" stickyEnd><th*matHeaderCellDefclass="px-1 text-center"diff --git a/apps/client/src/app/components/admin-users/admin-users.html b/apps/client/src/app/components/admin-users/admin-users.htmlindex 2071e058e5..e6efb4ebfa 100644--- a/apps/client/src/app/components/admin-users/admin-users.html+++ b/apps/client/src/app/components/admin-users/admin-users.html@@ -178,7 +178,7 @@</td></ng-container>- <ng-container matColumnDef="actions">+ <ng-container matColumnDef="actions" stickyEnd><th*matHeaderCellDefclass="mat-mdc-header-cell px-1 py-2"diff --git a/apps/client/src/styles/table.scss b/apps/client/src/styles/table.scssindex 0572530953..f232cb1af8 100644--- a/apps/client/src/styles/table.scss+++ b/apps/client/src/styles/table.scss@@ -1,5 +1,5 @@@mixin gf-table($darkTheme: false) {- background: transparent !important;+ --mat-table-background-color: var(--light-background);.mat-footer-row,.mat-row {@@ -21,29 +21,17 @@.mat-mdc-row {&:nth-child(even) {- background-color: rgba(var(--palette-foreground-base), 0.02);+ background-color: whitesmoke;}&:hover {- background-color: rgba(var(--palette-foreground-base), 0.05) !important;- }-- .mat-mdc-cell {- background: none;- }- }-- .mat-row {- &:nth-child(even) {- background-color: rgba(var(--palette-foreground-base), 0.02);- }-- &:hover {- background-color: rgba(var(--palette-foreground-base), 0.05);+ background-color: #e6e6e6 !important;}}@if $darkTheme {+ --mat-table-background-color: var(--dark-background);+.mat-mdc-footer-row {.mat-mdc-footer-cell {border-top-color: rgba(@@ -55,28 +43,11 @@.mat-mdc-row {&:nth-child(even) {- background-color: rgba(var(--palette-foreground-base-dark), 0.02);- }-- &:hover {- background-color: rgba(- var(--palette-foreground-base-dark),- 0.05- ) !important;- }-- .mat-mdc-cell {- background: none;- }- }-- .mat-row {- &:nth-child(even) {- background-color: rgba(var(--palette-foreground-base-dark), 0.02);+ background-color: #222222;}&:hover {- background-color: rgba(var(--palette-foreground-base-dark), 0.05);+ background-color: #303030 !important;}}}diff --git a/libs/ui/src/lib/account-balances/account-balances.component.html b/libs/ui/src/lib/account-balances/account-balances.component.htmlindex 291f115298..5c0c6b2a1c 100644--- a/libs/ui/src/lib/account-balances/account-balances.component.html+++ b/libs/ui/src/lib/account-balances/account-balances.component.html@@ -31,7 +31,7 @@</td></ng-container>- <ng-container matColumnDef="actions">+ <ng-container matColumnDef="actions" stickyEnd><th *matHeaderCellDef class="px-1 text-center" mat-header-cell></th><td *matCellDef="let element" class="px-1 text-center" mat-cell><buttondiff --git a/libs/ui/src/lib/activities-table/activities-table.component.html b/libs/ui/src/lib/activities-table/activities-table.component.htmlindex d6a5e05af1..18d9180060 100644--- a/libs/ui/src/lib/activities-table/activities-table.component.html+++ b/libs/ui/src/lib/activities-table/activities-table.component.html@@ -428,7 +428,7 @@></td></ng-container>- <ng-container matColumnDef="actions">+ <ng-container matColumnDef="actions" stickyEnd><th *matHeaderCellDef class="px-1 text-center" mat-header-cell><button*ngIf="