From f06ccbdf6e0092237747b97a2de5bc834333511b Mon Sep 17 00:00:00 2001 From: Victor Marin <36818606+mdvictor@users.noreply.github.com> Date: Thu, 15 Jun 2023 16:34:54 +0300 Subject: [PATCH] Fix BarGaugePanel to not show unnecessary scrollbar when links are set (#69989) --- public/app/plugins/panel/bargauge/BarGaugePanel.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/app/plugins/panel/bargauge/BarGaugePanel.tsx b/public/app/plugins/panel/bargauge/BarGaugePanel.tsx index 1a68e41d26a..56481c1a9d3 100644 --- a/public/app/plugins/panel/bargauge/BarGaugePanel.tsx +++ b/public/app/plugins/panel/bargauge/BarGaugePanel.tsx @@ -61,7 +61,9 @@ export class BarGaugePanel extends PureComponent { if (hasLinks && getLinks) { return (
- {(api) => this.renderComponent(valueProps, api)} + + {(api) => this.renderComponent(valueProps, api)} +
); }