mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
Fix BarGaugePanel to not show unnecessary scrollbar when links are set (#69989)
This commit is contained in:
@@ -61,7 +61,9 @@ export class BarGaugePanel extends PureComponent<BarGaugePanelProps> {
|
||||
if (hasLinks && getLinks) {
|
||||
return (
|
||||
<div style={{ width: '100%', display: orientation === VizOrientation.Vertical ? 'flex' : 'initial' }}>
|
||||
<DataLinksContextMenu links={getLinks}>{(api) => this.renderComponent(valueProps, api)}</DataLinksContextMenu>
|
||||
<DataLinksContextMenu style={{ height: '100%' }} links={getLinks}>
|
||||
{(api) => this.renderComponent(valueProps, api)}
|
||||
</DataLinksContextMenu>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user