From 187d579be0f4f4d84083ab7bc9c81bc124d5e11d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sat, 6 Nov 2021 11:26:50 +0100 Subject: [PATCH] Key navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/components/scrollable_list.js | Bin 9881 -> 9915 bytes .../notifications/components/notification.js | Bin 15810 -> 15827 bytes app/styles/components/status.scss | 15 +++++++-------- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app/soapbox/components/scrollable_list.js b/app/soapbox/components/scrollable_list.js index 04ceab234b86cfcaa368634e56dab70d263ccc60..9c7da2f31570644c19d4356c3088d9616bf19599 100644 GIT binary patch delta 47 wcmbQ~yW4kz60?$yLSAW34vef;NXsuOPb^9aN=>s;C@CsURjA#p#9Xcn0Ee&;761SM delta 12 Tcmdn(JJWZA67yyk=5l2KAom1V diff --git a/app/soapbox/features/notifications/components/notification.js b/app/soapbox/features/notifications/components/notification.js index 18d24cd04b03c2f766d9ba4c6a4cc4521a5407cb..9fc3300a80c8d6f6eaeba3a63331a205017a9489 100644 GIT binary patch delta 29 kcmX?9eYtvrg@k}YT7GhAabi+Vs&08^Nk-;obBS(M0Jm2QbN~PV delta 12 TcmcayeW-eag~Vo0i7r(DDBJ~4 diff --git a/app/styles/components/status.scss b/app/styles/components/status.scss index 71c52f11b0..276752b65d 100644 --- a/app/styles/components/status.scss +++ b/app/styles/components/status.scss @@ -473,15 +473,14 @@ } } -.focusable { - &:focus { - outline: 0; - box-shadow: 0 0 6px 0 hsla(var(--brand-color_hsl), 0.7); +.focusable:focus, +.focusable-within:focus-within { + outline: 0; + box-shadow: 0 0 6px 0 hsla(var(--brand-color_hsl), 0.7); - .status.status-direct { - &.muted { - background: transparent; - } + .status.status-direct { + &.muted { + background: transparent; } } }