File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
x-pack/plugins/security_solution/public/common/components/exceptions/builder Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ const MyBeautifulLine = styled(EuiFlexItem)`
2626 }
2727` ;
2828
29+ const MyOverflowContainer = styled ( EuiFlexItem ) `
30+ overflow: hidden;
31+ width: 100%;
32+ ` ;
33+
2934interface BuilderExceptionListItemProps {
3035 exceptionItem : ExceptionsBuilderExceptionItem ;
3136 exceptionId : string ;
@@ -97,13 +102,13 @@ export const BuilderExceptionListItemComponent = React.memo<BuilderExceptionList
97102 andLogicIncluded = { andLogicIncluded }
98103 exceptionItemIndex = { exceptionItemIndex }
99104 />
100- < EuiFlexItem grow = { 6 } >
105+ < MyOverflowContainer grow = { 6 } >
101106 < EuiFlexGroup gutterSize = "s" direction = "column" >
102107 { entries . map ( ( item , index ) => (
103108 < EuiFlexItem key = { `${ exceptionId } -${ index } ` } grow = { 1 } >
104109 < EuiFlexGroup gutterSize = "xs" alignItems = "center" direction = "row" >
105110 { item . nested === 'child' && < MyBeautifulLine grow = { false } /> }
106- < EuiFlexItem grow = { 1 } >
111+ < MyOverflowContainer grow = { 1 } >
107112 < BuilderEntryItem
108113 entry = { item }
109114 indexPattern = { indexPattern }
@@ -114,7 +119,7 @@ export const BuilderExceptionListItemComponent = React.memo<BuilderExceptionList
114119 onChange = { handleEntryChange }
115120 onlyShowListOperators = { onlyShowListOperators }
116121 />
117- </ EuiFlexItem >
122+ </ MyOverflowContainer >
118123 < BuilderEntryDeleteButtonComponent
119124 entries = { exceptionItem . entries }
120125 isOnlyItem = { isOnlyItem }
@@ -127,7 +132,7 @@ export const BuilderExceptionListItemComponent = React.memo<BuilderExceptionList
127132 </ EuiFlexItem >
128133 ) ) }
129134 </ EuiFlexGroup >
130- </ EuiFlexItem >
135+ </ MyOverflowContainer >
131136 </ EuiFlexGroup >
132137 </ EuiFlexItem >
133138 ) ;
You can’t perform that action at this time.
0 commit comments