From 56b16c34c41cad3341ac21e2749f6448f7a07336 Mon Sep 17 00:00:00 2001 From: Roy Johnson Date: Fri, 31 May 2024 12:55:08 -0500 Subject: [PATCH] Current highlight is .focus --- src/app/content/components/Page/PageContent.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/content/components/Page/PageContent.tsx b/src/app/content/components/Page/PageContent.tsx index 6a9299a926..474fcedb33 100644 --- a/src/app/content/components/Page/PageContent.tsx +++ b/src/app/content/components/Page/PageContent.tsx @@ -128,7 +128,7 @@ export default styled(MainContent)` } @media screen { - &[aria-current] { + &.focus { background-color: ${style.focused}; border-bottom: 0.2rem solid ${style.focusBorder}; padding: 0.2rem 0 0; @@ -157,7 +157,7 @@ export default styled(MainContent)` background-color: #ffea00; } - &[aria-current] { + &.focus { ${SELF_AND_CHILD_MATH_SELECTOR} { background-color: #ff9e4b; padding: 0.2rem 0;