mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[Security Solution][Endpoint] Set horizontal scrollbar to fix an issue with match_any operator (#124516)
* Set max width 100% to fix an issue with match_any operator * Adds horizontal scrollbar for large criteria condition values * Adds horizontal scrollbar for large criteria condition values to the whole entry, not only on values Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
c7595d7c36
commit
ce094b970a
1 changed files with 11 additions and 9 deletions
|
@ -146,15 +146,17 @@ export const CriteriaConditions = memo<CriteriaConditionsProps>(
|
|||
{entries.map(({ field, type, value, operator, entries: nestedEntries = [] }) => {
|
||||
return (
|
||||
<div data-test-subj={getTestId('condition')} key={field + type + value}>
|
||||
<EuiExpression
|
||||
description={<StyledCondition>{CONDITION_AND}</StyledCondition>}
|
||||
value={field}
|
||||
color="subdued"
|
||||
/>
|
||||
<EuiExpression
|
||||
description={getEntryOperator(type, operator)}
|
||||
value={getEntryValue(type, value)}
|
||||
/>
|
||||
<div className="eui-xScroll">
|
||||
<EuiExpression
|
||||
description={<StyledCondition>{CONDITION_AND}</StyledCondition>}
|
||||
value={field}
|
||||
color="subdued"
|
||||
/>
|
||||
<EuiExpression
|
||||
description={getEntryOperator(type, operator)}
|
||||
value={getEntryValue(type, value)}
|
||||
/>
|
||||
</div>
|
||||
{getNestedEntriesContent(type, nestedEntries)}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue