From 5d328983a1f20098cf95730b4261da1567846e71 Mon Sep 17 00:00:00 2001 From: Kyle Cunningham Date: Wed, 19 Jun 2024 11:12:11 -0500 Subject: [PATCH] Table: Don't wrap text labels for gauge cells (#88005) Don't wrap text Co-authored-by: nmarrs --- packages/grafana-ui/src/components/BarGauge/BarGauge.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/grafana-ui/src/components/BarGauge/BarGauge.tsx b/packages/grafana-ui/src/components/BarGauge/BarGauge.tsx index cf4a1d5905cde..db2ff91f09b21 100644 --- a/packages/grafana-ui/src/components/BarGauge/BarGauge.tsx +++ b/packages/grafana-ui/src/components/BarGauge/BarGauge.tsx @@ -657,6 +657,7 @@ function getValueStyles( width: `${width}px`, display: 'flex', alignItems: 'center', + textWrap: 'nowrap', lineHeight: VALUE_LINE_HEIGHT, };