Skip to content

Commit

Permalink
Fixed issue with Entity Risk Scoring Management page due to recent EUI (
Browse files Browse the repository at this point in the history
elastic#195666)

## Summary

After the most recent EUI upgrade
[here](elastic#194619), the Security
Entity Risk Scoring Management page had significant spacing issues with
regards to the page header. This PR alleviates those issues, and also
simplifies the DOM structure for that component a bit.

## Before

![image](https://github.com/user-attachments/assets/4d59ee6c-c2a4-4025-be68-25046d29f25d)

## After

<img width="1727" alt="Screenshot 2024-10-09 at 1 20 14 PM"
src="https://github.com/user-attachments/assets/4117d280-231d-48aa-b36b-82e99a8a294c">

(cherry picked from commit 52e7dec)
  • Loading branch information
jaredburgettelastic committed Oct 11, 2024
1 parent 7d25b26 commit afd11f1
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ export const EntityAnalyticsManagementPage = () => {
return (
<>
<RiskEnginePrivilegesCallOut privileges={privileges} />
<EuiFlexGroup gutterSize="s" alignItems="baseline">
<EuiFlexItem grow={false}>
<EuiPageHeader
data-test-subj="entityAnalyticsManagementPageTitle"
pageTitle={ENTITY_ANALYTICS_RISK_SCORE}
/>
</EuiFlexItem>
<EuiFlexItem grow={false} />
<EuiBetaBadge label={BETA} size="s" />
</EuiFlexGroup>
<EuiPageHeader
pageTitle={
<EuiFlexGroup>
<EuiFlexItem data-test-subj="entityAnalyticsManagementPageTitle" grow={false}>
{ENTITY_ANALYTICS_RISK_SCORE}
</EuiFlexItem>
<EuiBetaBadge label={BETA} size="s" />
</EuiFlexGroup>
}
/>
<EuiSpacer size="l" />
<EuiFlexGroup gutterSize="xl">
<EuiFlexItem grow={2}>
Expand Down

0 comments on commit afd11f1

Please sign in to comment.