From 348c14168b330e3f10eb6d5140f7e6626b688261 Mon Sep 17 00:00:00 2001 From: Jason Fong Date: Mon, 22 Dec 2025 15:50:23 -0500 Subject: [PATCH] ui: fix bargraph legend previously the legend had the first item's color indicator missing and the text grey, this fixes the discrepancy and makes all items in the legend visually identical. Epic: None Release note: None --- .../src/graphs/bargraph/bargraph.module.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkg/ui/workspaces/cluster-ui/src/graphs/bargraph/bargraph.module.scss b/pkg/ui/workspaces/cluster-ui/src/graphs/bargraph/bargraph.module.scss index a03ded23c32d..f66be67ff6b0 100644 --- a/pkg/ui/workspaces/cluster-ui/src/graphs/bargraph/bargraph.module.scss +++ b/pkg/ui/workspaces/cluster-ui/src/graphs/bargraph/bargraph.module.scss @@ -3,6 +3,8 @@ // Use of this software is governed by the CockroachDB Software License // included in the /LICENSE file. +@import "src/core/index.module"; + :global { @import "uplot/dist/uPlot.min"; } @@ -19,6 +21,14 @@ z-index: 1; width: fit-content; padding: 10px; + :global(.u-series) { + :global(.u-marker) { + display: inline-block; + } + :global(.u-label) { + color: $headings-color; + } + } } } }