From a81cf8d5ea371f0a8cfad9d326151205deaf15ff Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Tue, 6 May 2025 17:36:08 +0200 Subject: [PATCH] Fix horizontal overflow --- .../lib/benchmark/benchmark.component.html | 316 +++++++++--------- 1 file changed, 165 insertions(+), 151 deletions(-) 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) {