mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -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:
parent
e9631fdf7c
commit
cbdba57924
@ -16,6 +16,9 @@ const options: CodeEditorMonacoOptions = {
|
|||||||
scrollBeyondLastLine: false,
|
scrollBeyondLastLine: false,
|
||||||
renderLineHighlight: 'none',
|
renderLineHighlight: 'none',
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
|
// we need `fixedOverflowWidgets` because otherwise in grafana-dashboards
|
||||||
|
// the popup is clipped by the panel-visualizations.
|
||||||
|
fixedOverflowWidgets: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
const MonacoQueryField = (props: Props) => {
|
const MonacoQueryField = (props: Props) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user