Skip to content

Commit 1e2c9f0

Browse files
[8.x] [ES|QL] Fixes the broken tooltip suggestions descriptions (elastic#218067) (elastic#218099)
# Backport This will backport the following commits from `main` to `8.x`: - [[ES|QL] Fixes the broken tooltip suggestions descriptions (elastic#218067)](elastic#218067) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Stratoula Kalafateli","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-04-14T12:17:33Z","message":"[ES|QL] Fixes the broken tooltip suggestions descriptions (elastic#218067)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/217998\n\nFixes the descriptions problem in some markdown texts in the editor (the\nmarkdown is correct)\n\n![image\n(93)](https://github.com/user-attachments/assets/0b2c9d75-1933-4345-8a2d-aae9a2c778c9)","sha":"3ac4ac5b5722a6abceb9cc72aeda173cb0230443","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Feature:ES|QL","Team:ESQL","backport:version","v9.1.0","v8.19.0"],"title":"[ES|QL] Fixes the broken tooltip suggestions descriptions","number":218067,"url":"https://github.com/elastic/kibana/pull/218067","mergeCommit":{"message":"[ES|QL] Fixes the broken tooltip suggestions descriptions (elastic#218067)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/217998\n\nFixes the descriptions problem in some markdown texts in the editor (the\nmarkdown is correct)\n\n![image\n(93)](https://github.com/user-attachments/assets/0b2c9d75-1933-4345-8a2d-aae9a2c778c9)","sha":"3ac4ac5b5722a6abceb9cc72aeda173cb0230443"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/218067","number":218067,"mergeCommit":{"message":"[ES|QL] Fixes the broken tooltip suggestions descriptions (elastic#218067)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/217998\n\nFixes the descriptions problem in some markdown texts in the editor (the\nmarkdown is correct)\n\n![image\n(93)](https://github.com/user-attachments/assets/0b2c9d75-1933-4345-8a2d-aae9a2c778c9)","sha":"3ac4ac5b5722a6abceb9cc72aeda173cb0230443"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Stratoula Kalafateli <[email protected]>
1 parent 6f09403 commit 1e2c9f0

File tree

1 file changed

+4
-0
lines changed
  • src/platform/packages/private/kbn-esql-editor/src

1 file changed

+4
-0
lines changed

src/platform/packages/private/kbn-esql-editor/src/helpers.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,5 +356,9 @@ export const getEditorOverwrites = (theme: UseEuiTheme<{}>) => {
356356
.monaco-list .monaco-scrollable-element .monaco-list-row.focused {
357357
border-radius: ${theme.euiTheme.border.radius.medium};
358358
}
359+
// fixes the bug with the broken suggestion details https://github.com/elastic/kibana/issues/217998
360+
.suggest-details > .monaco-scrollable-element > .body > .header > .type {
361+
white-space: normal !important;
362+
}
359363
`;
360364
};

0 commit comments

Comments
 (0)