From 83706a2df276705a2004a626fb0273ac368a6888 Mon Sep 17 00:00:00 2001 From: Brent Kimmel Date: Thu, 10 Sep 2020 11:05:13 -0400 Subject: [PATCH] Focus states --- .../public/resolver/view/submenu.tsx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/security_solution/public/resolver/view/submenu.tsx b/x-pack/plugins/security_solution/public/resolver/view/submenu.tsx index 7731ab8bec8c9e..2cdfa9176086fb 100644 --- a/x-pack/plugins/security_solution/public/resolver/view/submenu.tsx +++ b/x-pack/plugins/security_solution/public/resolver/view/submenu.tsx @@ -196,7 +196,7 @@ const NodeSubMenuComponents = React.memo( /> {menuIsOpen ? () : null} @@ -237,6 +237,20 @@ export const NodeSubMenu = styled(NodeSubMenuComponents)` height: fit-content; width: fit-content; line-height: .8; + outline-style: none; + border-color: transparent; + box-shadow: none; + } + + &.options .item button:focus { + outline-style: none; + border-color: transparent; + box-shadow: none; + text-decoration: underline; + } + + &.options .item button:active { + transform: scale(.95); } & .euiButton {