From cd22551247ab3a0fe2b521367695d4bb6d2478db Mon Sep 17 00:00:00 2001 From: Andrey Sitnik Date: Tue, 27 Aug 2024 21:51:51 +0000 Subject: [PATCH] Return lines to chart --- view/chart/index.css | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/view/chart/index.css b/view/chart/index.css index 08b56b33..4d804109 100644 --- a/view/chart/index.css +++ b/view/chart/index.css @@ -50,20 +50,20 @@ body { background: var(--surface-1); mix-blend-mode: difference; opacity: 40%; +} - .is-x& { - right: 0; - bottom: var(--chart-line-position); - left: 0; - height: 1px; - } +.chart_line.is-x::after { + right: 0; + bottom: var(--chart-line-position); + left: 0; + height: 1px; +} - .is-y& { - top: 0; - bottom: 0; - left: var(--chart-line-position); - width: 1px; - } +.chart_line.is-y::after { + top: 0; + bottom: 0; + left: var(--chart-line-position); + width: 1px; } .chart_label {