remove alignCenter to prevent the icon from adjusting (#141365)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Wafaa Nasr 2022-09-22 18:16:31 +02:00 committed by GitHub
parent d868f2c12c
commit 0fcfaec2dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ import styled from 'styled-components';
import type { BuilderEntry } from '@kbn/securitysolution-list-utils';
const MyFirstRowContainer = styled(EuiFlexItem)`
padding-top: 20px;
padding-top: 25px;
`;
interface BuilderEntryDeleteButtonProps {

View file

@ -136,7 +136,7 @@ export const BuilderExceptionListItemComponent = React.memo<BuilderExceptionList
const key = (item as typeof item & { id?: string }).id ?? `${index}`;
return (
<EuiFlexItem key={key} grow={1}>
<EuiFlexGroup gutterSize="xs" alignItems="center" direction="row">
<EuiFlexGroup gutterSize="xs" direction="row">
{item.nested === 'child' && <MyBeautifulLine grow={false} />}
<MyOverflowContainer grow={1}>
<BuilderEntryItem