Skip to content

Commit

Permalink
[ML] Fix switches positioning on the Transform and DFA wizards (#96535)
Browse files Browse the repository at this point in the history
* [ML] fix edit runtime mapping switch positioning

* [ML] fix transform wizard switches
  • Loading branch information
darnautov authored Apr 8, 2021
1 parent 7984745 commit d9ef5c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 && (
Expand Down

0 comments on commit d9ef5c2

Please sign in to comment.