mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Unified Field List] fix long single-word values (#172544)
## Summary Fixes non-wrapping of a single word values:  It worked correctly for long values that are multi words, that's why I didn't notice it. <img width="437" alt="Screenshot 2023-12-05 at 10 03 51" src="2713a65e
-c3fb-4bbb-a6f5-49f6cc00ac11"> It was caused by last minute change in my [PR](https://github.com/elastic/kibana/pull/171076) here: where I swapped `word-break: break-word;` (deprecated) to `overflow-wrap: break-word;` which is not equivalent. Changing the value to `anywhere` solves it.
This commit is contained in:
parent
5fe03cc128
commit
e5e64f8c9f
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ const FieldTopValuesBucket: React.FC<FieldTopValuesBucketProps> = ({
|
|||
grow={true}
|
||||
data-test-subj={`${dataTestSubject}-topValues-formattedFieldValue`}
|
||||
css={css`
|
||||
overflow-wrap: break-word;
|
||||
overflow-wrap: anywhere;
|
||||
`}
|
||||
>
|
||||
{(formattedFieldValue?.length ?? 0) > 0 ? (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue