Skip to content

Commit

Permalink
Fixed a bit policy details header layout for small screens.
Browse files Browse the repository at this point in the history
  • Loading branch information
efreeti committed Jul 16, 2020
1 parent 7e533f2 commit 278b982
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const AgentsSummary = memo<AgentsSummaryProps>((props) => {
}, []);

return (
<EuiFlexGroup gutterSize="xl" data-test-subj="policyAgentsSummary">
<EuiFlexGroup gutterSize="xl" responsive={false} data-test-subj="policyAgentsSummary">
{stats.map(({ key, title, health }) => {
return (
<EuiFlexItem grow={false} key={key}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
EuiConfirmModal,
EuiCallOut,
EuiLoadingSpinner,
EuiHideFor,
} from '@elastic/eui';
import { FormattedMessage } from '@kbn/i18n/react';
import { i18n } from '@kbn/i18n';
Expand Down Expand Up @@ -182,9 +183,11 @@ export const PolicyDetails = React.memo(() => {
error={policyAgentStatusSummary?.error ?? 0}
/>
</EuiFlexItem>
<EuiFlexItem>
<VerticalDivider spacing="l" />
</EuiFlexItem>
<EuiHideFor sizes={['xs', 's']}>
<EuiFlexItem>
<VerticalDivider spacing="l" />
</EuiFlexItem>
</EuiHideFor>
<EuiFlexItem grow={false}>
<EuiButtonEmpty onClick={handleCancelOnClick} data-test-subj="policyDetailsCancelButton">
<FormattedMessage
Expand Down

0 comments on commit 278b982

Please sign in to comment.