Loki Query Editor: Increase autocomplete suggestions window with to 50% (#66041)

Loki Monaco Editor: Increase autocomplete min width to 50%
This commit is contained in:
Matias Chomicki 2023-04-05 18:46:44 +02:00 committed by GitHub
parent abc11d1dcf
commit 58287c2df2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,6 +79,9 @@ const getStyles = (theme: GrafanaTheme2, placeholder: string) => {
border-radius: ${theme.shape.borderRadius()};
border: 1px solid ${theme.components.input.borderColor};
width: 100%;
.monaco-editor .suggest-widget {
min-width: 50%;
}
`,
placeholder: css`
::after {