Browse Source

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

* Improve style of empty state

* Update changelog
pull/7439/merge
Thomas Kaul 1 week ago
committed by GitHub
parent
commit
543818c358
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 7
      libs/ui/src/lib/fear-and-greed-index/fear-and-greed-index.component.html

1
CHANGELOG.md

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Improved the style of the empty state in the _Fear & Greed Index_ component
- Improved the language localization for German (`de`) - Improved the language localization for German (`de`)
## 3.37.0 - 2026-07-30 ## 3.37.0 - 2026-07-30

7
libs/ui/src/lib/fear-and-greed-index/fear-and-greed-index.component.html

@ -12,10 +12,11 @@
<div> <div>
<div class="h4 mb-0"> <div class="h4 mb-0">
<span class="mr-2">{{ fearAndGreedIndexText() }}</span> <span class="mr-2">{{ fearAndGreedIndexText() }}</span>
@let value = fearAndGreedIndex() | number: '1.0-0';
<small class="text-muted" <small class="text-muted"
><strong>{{ ><span [class.font-weight-bold]="value">{{
(fearAndGreedIndex() | number: '1.0-0') ?? placeholder value ?? placeholder
}}</strong }}</span
>/100</small >/100</small
> >
</div> </div>

Loading…
Cancel
Save