diff --git a/CHANGELOG.md b/CHANGELOG.md index a21641459..9ebb975b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixed an issue in the performance calculation on the date of an activity when the unit price differs from the market price +- Fixed the horizontal overflow in the table of the benchmark component ## 2.160.0 - 2025-05-04 diff --git a/libs/ui/src/lib/benchmark/benchmark.component.html b/libs/ui/src/lib/benchmark/benchmark.component.html index 14ff7f9f2..631e5b7e1 100644 --- a/libs/ui/src/lib/benchmark/benchmark.component.html +++ b/libs/ui/src/lib/benchmark/benchmark.component.html @@ -1,164 +1,178 @@ - - - - - +
+
Name - {{ element?.name }} -
+ + + + - - - - + + + + - - - - + + + + - - - + + + + + + - - - - - - + + - - - - + + + + - - - - + + + + - - -
Name + {{ element?.name }} + - 50-Day Trend - -
- @if (element?.trend50d !== 'UNKNOWN') { - - } -
-
+ 50-Day Trend + +
+ @if (element?.trend50d !== 'UNKNOWN') { + + } +
+
- 200-Day Trend - -
- @if (element?.trend200d !== 'UNKNOWN') { - - } -
-
+ 200-Day Trend + +
+ @if (element?.trend200d !== 'UNKNOWN') { + + } +
+
- Last All Time High - -
- @if (element?.performances?.allTimeHigh?.date) { + +
+ Last All Time High + +
+ @if (element?.performances?.allTimeHigh?.date) { + + } +
+
+ Change from All Time High + from ATH + + @if (isNumber(element?.performances?.allTimeHigh?.performancePercent)) { } - - - Change from All Time High - from ATH - - @if (isNumber(element?.performances?.allTimeHigh?.performancePercent)) { - - } - - @if (element?.marketCondition) { -
- {{ resolveMarketCondition(element.marketCondition).emoji }} -
- } -
+ @if (element?.marketCondition) { +
+ {{ resolveMarketCondition(element.marketCondition).emoji }} +
+ } +
- @if (hasPermissionToDeleteItem) { - - } - - - - + @if (hasPermissionToDeleteItem) { + + } + + + +
+ + + + @if (isLoading) {