[8.12] [Lens] fix annotations tooltip non breaking on long lines (#174837) (#174895)

# Backport

This will backport the following commits from `main` to `8.12`:
- [[Lens] fix annotations tooltip non breaking on long lines
(#174837)](https://github.com/elastic/kibana/pull/174837)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Marta
Bondyra","email":"4283304+mbondyra@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-01-16T10:51:11Z","message":"[Lens]
fix annotations tooltip non breaking on long lines (#174837)\n\n##
Summary\r\n\r\nFixes
#174836\r\n\r\n\r\n![image](63232df5-0c01-4d8a-82dc-4b77cf9a655e)","sha":"cc7b89b50255f6511e0520e873990a6a2239dbfa","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Lens","backport:prev-minor","v8.12.1","v8.13.0"],"title":"[Lens]
fix annotations tooltip non breaking on long
lines","number":174837,"url":"https://github.com/elastic/kibana/pull/174837","mergeCommit":{"message":"[Lens]
fix annotations tooltip non breaking on long lines (#174837)\n\n##
Summary\r\n\r\nFixes
#174836\r\n\r\n\r\n![image](63232df5-0c01-4d8a-82dc-4b77cf9a655e)","sha":"cc7b89b50255f6511e0520e873990a6a2239dbfa"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/174837","number":174837,"mergeCommit":{"message":"[Lens]
fix annotations tooltip non breaking on long lines (#174837)\n\n##
Summary\r\n\r\nFixes
#174836\r\n\r\n\r\n![image](63232df5-0c01-4d8a-82dc-4b77cf9a655e)","sha":"cc7b89b50255f6511e0520e873990a6a2239dbfa"}}]}]
BACKPORT-->

Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2024-01-16 07:04:10 -05:00 committed by GitHub
parent eb6a5d9dfe
commit d781ba3cfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,13 +44,13 @@
}
.xyAnnotationTooltip__extraFieldsKey {
overflow-wrap: break-word;
overflow-wrap: anywhere;
hyphens: auto;
}
.xyAnnotationTooltip__extraFieldsValue {
text-align: right;
overflow-wrap: break-word;
overflow-wrap: anywhere;
hyphens: auto;
}