Skip to content

Commit

Permalink
fix ci and rule red square
Browse files Browse the repository at this point in the history
  • Loading branch information
christineweng committed Jul 1, 2024
1 parent 58a1b99 commit 6ca61ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import React, { memo } from 'react';
import type { FlyoutPanelProps } from '@kbn/expandable-flyout';
import { EuiFlyoutBody } from '@elastic/eui';
import { FlyoutBody } from '../../shared/components/flyout_body';
import type { DocumentDetailsRuleOverviewPanelKey } from '../shared/constants/panel_keys';
import { RuleOverview } from './components/rule_overview';
import { RuleFooter } from './components/footer';
Expand All @@ -25,11 +25,11 @@ export interface RuleOverviewPanelProps extends FlyoutPanelProps {
export const RuleOverviewPanel: React.FC = memo(() => {
return (
<>
<EuiFlyoutBody>
<FlyoutBody>
<div style={{ marginTop: '-15px' }}>
<RuleOverview />
</div>
</EuiFlyoutBody>
</FlyoutBody>
<RuleFooter />
</>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ describe(
cy.get(DOCUMENT_DETAILS_FLYOUT_RULE_PREVIEW_FOOTER).should('be.visible');
cy.get(DOCUMENT_DETAILS_FLYOUT_RULE_PREVIEW_FOOTER_LINK).should(
'contain.text',
'Show rule details'
'Show full rule details'
);
});
});
Expand Down

0 comments on commit 6ca61ef

Please sign in to comment.