From 7375997773093f680b043f59e519f3a5f7d14e7e Mon Sep 17 00:00:00 2001 From: Roy Johnson Date: Tue, 27 Aug 2024 09:25:21 -0500 Subject: [PATCH] Fix styling in MH --- .../highlights/components/SummaryPopup/ContextMenu.tsx | 7 +++++++ .../SummaryPopup/__snapshots__/ContextMenu.spec.tsx.snap | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/src/app/content/highlights/components/SummaryPopup/ContextMenu.tsx b/src/app/content/highlights/components/SummaryPopup/ContextMenu.tsx index acc7f3df29..74e1a69967 100644 --- a/src/app/content/highlights/components/SummaryPopup/ContextMenu.tsx +++ b/src/app/content/highlights/components/SummaryPopup/ContextMenu.tsx @@ -51,8 +51,15 @@ const StyledDropdownList = styled(DropdownList)` li { display: flex; + button, a { + border: 0; width: 100%; + + :focus, + :hover { + outline-width: 0; + } } } `; diff --git a/src/app/content/highlights/components/SummaryPopup/__snapshots__/ContextMenu.spec.tsx.snap b/src/app/content/highlights/components/SummaryPopup/__snapshots__/ContextMenu.spec.tsx.snap index 628f1b536b..1ef1cb162a 100644 --- a/src/app/content/highlights/components/SummaryPopup/__snapshots__/ContextMenu.spec.tsx.snap +++ b/src/app/content/highlights/components/SummaryPopup/__snapshots__/ContextMenu.spec.tsx.snap @@ -568,10 +568,19 @@ exports[`ContextMenu match snapshot when open 1`] = ` display: flex; } +.c13 li button, .c13 li a { + border: 0; width: 100%; } +.c13 li button:focus, +.c13 li a:focus, +.c13 li button:hover, +.c13 li a:hover { + outline-width: 0; +} + .c31 { width: 15px; height: 15px;