Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Task/improve style of dense selectors (#7856)
Thomas Kaul483b55cde953
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 8bbc07ae2d..bbb6b1762a 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).+## Unreleased++### Changed++- Improved the style of the activity type filter on the activities page (experimental)+- Improved the style of the selector in the benchmark comparator+## 3.69.0 - 2026-09-07### Changeddiff --git a/apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.html b/apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.htmlindex 328cccba1f..9ce99987a4 100644--- a/apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.html+++ b/apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.html@@ -12,7 +12,7 @@<div class="col-md-6 col-xs-12 d-flex justify-content-end"><mat-form-fieldappearance="outline"- class="w-100 without-hint"+ class="gf-form-field-dense w-100 without-hint"color="accent"><mat-label i18n>Compare with...</mat-label>diff --git a/apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.scss b/apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.scssindex 4dc8cf6b5a..e02c91e3db 100644--- a/apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.scss+++ b/apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.scss@@ -1,15 +1,6 @@-@use '@angular/material' as mat;-:host {display: block;- @include mat.form-field-overrides(- (- container-height: 2rem,- container-vertical-padding: 0.33rem- )- );-.chart-container {aspect-ratio: 16 / 9;diff --git a/apps/client/src/styles/theme.scss b/apps/client/src/styles/theme.scssindex 3f81250116..d3c9e6022b 100644--- a/apps/client/src/styles/theme.scss+++ b/apps/client/src/styles/theme.scss@@ -149,6 +149,14 @@ $gf-typography: (regular-weight: 400);+$_dense-form-field-theme: mat.define-theme(+ (+ density: (+ scale: -4+ )+ )+);+.theme-light {color-scheme: light;@@ -412,6 +420,10 @@ $gf-typography: ());+ .gf-form-field-dense {+ @include mat.form-field-density($_dense-form-field-theme);+ }+.mat-accent {@include mat.button-overrides((diff --git a/libs/ui/src/lib/activities-table/activities-table.component.html b/libs/ui/src/lib/activities-table/activities-table.component.htmlindex 9bfd44b9da..ded8fe8c83 100644--- a/libs/ui/src/lib/activities-table/activities-table.component.html+++ b/libs/ui/src/lib/activities-table/activities-table.component.html@@ -3,7 +3,10 @@><div class="d-none d-lg-flex">@if (hasPermissionToFilterByType && activityTypeOptions().length > 1) {- <mat-form-field appearance="outline" class="without-hint">+ <mat-form-field+ appearance="outline"+ class="gf-form-field-dense without-hint"+ ><mat-label i18n>Type</mat-label><mat-select multiple [formControl]="typesFilter">@for (activityType of activityTypeOptions(); track activityType.key) {diff --git a/libs/ui/src/lib/activities-table/activities-table.component.scss b/libs/ui/src/lib/activities-table/activities-table.component.scssindex 4e98f726e2..5d4e87f30f 100644--- a/libs/ui/src/lib/activities-table/activities-table.component.scss+++ b/libs/ui/src/lib/activities-table/activities-table.component.scss@@ -1,12 +1,3 @@-@use '@angular/material' as mat;-:host {display: block;-- @include mat.form-field-overrides(- (- container-height: 2rem,- container-vertical-padding: 0.33rem- )- );}