Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Task/improve style of empty state in Fear & Greed Index component (#7486)

Thomas Kaul543818c35867
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8d345c73ce..852e6f3774 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
+- Improved the style of the empty state in the _Fear & Greed Index_ component
- Improved the language localization for German (`de`)
## 3.37.0 - 2026-07-30
diff --git a/libs/ui/src/lib/fear-and-greed-index/fear-and-greed-index.component.html b/libs/ui/src/lib/fear-and-greed-index/fear-and-greed-index.component.html
index e441c53f6b..02eed4442a 100644
--- a/libs/ui/src/lib/fear-and-greed-index/fear-and-greed-index.component.html
+++ b/libs/ui/src/lib/fear-and-greed-index/fear-and-greed-index.component.html
@@ -12,10 +12,11 @@
<div>
<div class="h4 mb-0">
<span class="mr-2">{{ fearAndGreedIndexText() }}</span>
+ @let value = fearAndGreedIndex() | number: '1.0-0';
<small class="text-muted"
- ><strong>{{
- (fearAndGreedIndex() | number: '1.0-0') ?? placeholder
- }}</strong
+ ><span [class.font-weight-bold]="value">{{
+ value ?? placeholder
+ }}</span
>/100</small
>
</div>