From d834ec4db9ada56459a182287a88c3020e2058df Mon Sep 17 00:00:00 2001 From: Jens L Date: Mon, 6 Mar 2023 23:21:16 +0100 Subject: [PATCH] web/elements: fix center text not scrolling with container (#4853) Signed-off-by: Jens Langhammer --- web/src/elements/charts/Chart.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/elements/charts/Chart.ts b/web/src/elements/charts/Chart.ts index e6f8b66a2..6cfe2283f 100644 --- a/web/src/elements/charts/Chart.ts +++ b/web/src/elements/charts/Chart.ts @@ -72,6 +72,7 @@ export abstract class AKChart extends AKElement { display: flex; justify-content: center; align-items: center; + position: relative; } .container > span { position: absolute;