Skip to content

Commit

Permalink
text and style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Nov 16, 2020
1 parent 1f74d8c commit b4300cd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const CannotEditCallout: FC<{ jobId: string }> = ({ jobId }) => (
>
<FormattedMessage
id="xpack.ml.management.spacesSelectorFlyout.cannotEditCallout.text"
defaultMessage="This job cannot be moved as it is in the * space and you do not have permission to see all spaces. Please log in as a user who had permission to see all spaces to perform this action."
defaultMessage="To change this job's spaces, you need privileges to modify jobs in all spaces. Contact your system administrator for more information."
/>
</EuiCallOut>
<EuiSpacer size="l" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.mlCopyToSpace__spacesList {
margin-top: $euiSizeXS;
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/

import './spaces_selector.scss';
import React, { FC, useState, useEffect, useMemo } from 'react';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n/react';
Expand Down Expand Up @@ -82,7 +83,7 @@ export const SpacesSelector: FC<Props> = ({
checked: selectedSpaceIds.includes(space.id) ? 'on' : undefined,
disabled: canEditSpaces === false,
['data-space-id']: space.id,
['data-test-subj']: `cts-space-selector-row-${space.id}`,
['data-test-subj']: `mlSpaceSelectorRow_${space.id}`,
};
}),
[allSpaces, selectedSpaceIds, canEditSpaces]
Expand Down Expand Up @@ -156,8 +157,8 @@ export const SpacesSelector: FC<Props> = ({
listProps={{
bordered: true,
rowHeight: 40,
className: 'spcCopyToSpace__spacesList',
'data-test-subj': 'cts-form-space-selector',
className: 'mlCopyToSpace__spacesList',
'data-test-subj': 'mlFormSpaceSelector',
}}
searchable
>
Expand Down

0 comments on commit b4300cd

Please sign in to comment.