Skip to content

Commit

Permalink
[Cloud Security] fix responsiveness on the Benchmark Rules page (elas…
Browse files Browse the repository at this point in the history
…tic#191080)

## Summary

It ain't much but it's honest work

- fixes elastic#181641
- part pf elastic/security-team#10316

## Screencast
tbh before is not as bad as in the linked ticket, so we can also leave
it as it is until we do responsiveness on this page properly.

before


[screencast-localhost_5601-2024.08.22-15_14_34.webm](https://github.com/user-attachments/assets/4f119203-6a91-4a52-9514-3489789649ce)

after


[screencast-localhost_5601-2024.08.22-15_05_32.webm](https://github.com/user-attachments/assets/36276e71-8d2d-4095-b2b6-e5524f6d0692)
  • Loading branch information
maxcold committed Aug 22, 2024
1 parent df5810f commit 801c17f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export const RulesCounters = ({
];

return (
<EuiFlexGroup>
<EuiFlexGroup wrap={true}>
{counters.map((counter) => (
<EuiFlexItem key={counter.id}>
<CspCounterCard {...counter} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const RulesTableHeader = ({

return (
<EuiFlexGroup direction="column">
<EuiFlexGroup>
<EuiFlexGroup wrap={true}>
<EuiFlexItem grow={1}>
<SearchField isSearching={isSearching} searchValue={searchValue} search={search} />
</EuiFlexItem>
Expand Down

0 comments on commit 801c17f

Please sign in to comment.