mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Security Soltuion] Fix OSQuery action padding in alert action overflow menu (#150211)
The `OsqueryActionItem` wrapper around `EuiContextMenuItem` ends up preventing the default `euiContextMenuItem--small` class from being added, and so results in a different sized menu item within the `EuiContextMenuPanel`. This PR explicitly sets the `size` attribute to resolve this. ### Before <img width="300" alt="image" src="https://user-images.githubusercontent.com/2946766/216413074-043f9861-1c32-4d98-86f1-c55cb3c161ec.png"> <img width="267" alt="image" src="https://user-images.githubusercontent.com/2946766/216413184-f93492c2-fdcd-4f20-9a98-f516d1815f5f.png"> <img width="361" alt="image" src="https://user-images.githubusercontent.com/2946766/216412859-3b90871e-3acc-49c9-8642-8d23570b1474.png"> ### After <img width="392" alt="image" src="https://user-images.githubusercontent.com/2946766/216406980-40b7575e-563f-4bd5-9e9b-5715712af3ad.png">
This commit is contained in:
parent
2931bbad20
commit
5480b332c8
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ export const OsqueryActionItem = ({ handleClick }: IProps) => (
|
|||
key="osquery-action-item"
|
||||
data-test-subj="osquery-action-item"
|
||||
onClick={handleClick}
|
||||
size={'s'}
|
||||
>
|
||||
{ACTION_OSQUERY}
|
||||
</EuiContextMenuItem>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue