Skip to content

Commit

Permalink
[Fleet] fix platform selector css (elastic#205598)
Browse files Browse the repository at this point in the history
## Summary

Fix error that came when clicking on Add agent in Fleet

Before:

![image](https://github.com/user-attachments/assets/0fb8e8ec-565e-41a0-bdbb-857585bcdad4)


After:
<img width="1690" alt="image"
src="https://github.com/user-attachments/assets/70df4792-aab9-4230-8f7b-55eeb0ef57ab"
/>
  • Loading branch information
juliaElastic authored Jan 6, 2025
1 parent 26cc597 commit 8113ddf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n-react';
import { css } from '@emotion/react';

import {
FLEET_CLOUD_SECURITY_POSTURE_KSPM_POLICY_TEMPLATE,
Expand Down Expand Up @@ -224,7 +225,7 @@ export const PlatformSelector: React.FunctionComponent<Props> = ({
fontSize="m"
isCopyable={!fullCopyButton}
paddingSize="m"
css={`
css={css`
max-width: 1100px;
`}
whiteSpace="pre"
Expand Down

0 comments on commit 8113ddf

Please sign in to comment.