[ML] Fix switches positioning on the Transform and DFA wizards (#96535)

* [ML] fix edit runtime mapping switch positioning

* [ML] fix transform wizard switches
This commit is contained in:
Dima Arnautov 2021-04-08 13:10:52 +02:00 committed by GitHub
parent 7984745a9d
commit d9ef5c28d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -131,7 +131,7 @@ export const RuntimeMappings: FC<Props> = ({ actions, state }) => {
defaultMessage: 'Runtime mappings',
})}
>
<EuiFlexGroup alignItems="center" justifyContent="spaceBetween">
<EuiFlexGroup alignItems="baseline" justifyContent="spaceBetween">
<EuiFlexItem grow={true}>
{isPopulatedObject(runtimeMappings) ? (
<EuiText size="s" grow={false}>

View file

@ -91,7 +91,7 @@ export const AdvancedRuntimeMappingsSettings: FC<StepDefineFormHook> = (props) =
defaultMessage: 'Runtime mappings',
})}
>
<EuiFlexGroup alignItems="center" justifyContent="spaceBetween">
<EuiFlexGroup alignItems="baseline" justifyContent="spaceBetween">
<EuiFlexItem grow={true}>
{runtimeMappings !== undefined && Object.keys(runtimeMappings).length > 0 ? (
<FormattedMessage

View file

@ -227,7 +227,7 @@ export const StepDefineForm: FC<StepDefineFormProps> = React.memo((props) => {
}
>
<>
<EuiFlexGroup alignItems="center" justifyContent="spaceBetween">
<EuiFlexGroup alignItems="flexStart" justifyContent="spaceBetween">
<EuiFlexItem>
{/* Flex Column #1: Search Bar / Advanced Search Editor */}
{searchItems.savedSearch === undefined && (