mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Prometheus: fix popup positioning in monaco-based query-field (#38964)
* prometheus: monaco: fix popup positioning * added explanation comment
This commit is contained in:
@@ -16,6 +16,9 @@ const options: CodeEditorMonacoOptions = {
|
||||
scrollBeyondLastLine: false,
|
||||
renderLineHighlight: 'none',
|
||||
fontSize: 14,
|
||||
// we need `fixedOverflowWidgets` because otherwise in grafana-dashboards
|
||||
// the popup is clipped by the panel-visualizations.
|
||||
fixedOverflowWidgets: true,
|
||||
};
|
||||
|
||||
const MonacoQueryField = (props: Props) => {
|
||||
|
||||
Reference in New Issue
Block a user