From dd8f41fa947fe0b1303805484374fc2767052ada Mon Sep 17 00:00:00 2001 From: Micah Godbolt Date: Wed, 26 Oct 2022 11:10:50 -0700 Subject: [PATCH 1/2] use not uhf link to increase specificity instead of body tag --- apps/public-docsite/src/styles/_base.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/public-docsite/src/styles/_base.scss b/apps/public-docsite/src/styles/_base.scss index c43bbda61f6c47..016cf7fe29f84e 100644 --- a/apps/public-docsite/src/styles/_base.scss +++ b/apps/public-docsite/src/styles/_base.scss @@ -38,7 +38,7 @@ // Remove dotted outline added by MWF's main.css body [contentEditable=true]:focus, body [tabindex]:focus, - body a[href]:focus, + a[href]:not(.c-uhff-link):focus, // Don't remove the uhf link focus body area[href]:focus, body button:focus, body iframe:focus, From 2a23a33ea4c78d1d2d23bc275bc387b4f373cfe4 Mon Sep 17 00:00:00 2001 From: Micah Godbolt Date: Wed, 26 Oct 2022 11:13:21 -0700 Subject: [PATCH 2/2] improve comment --- apps/public-docsite/src/styles/_base.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/public-docsite/src/styles/_base.scss b/apps/public-docsite/src/styles/_base.scss index 016cf7fe29f84e..f5a8491bc0efb0 100644 --- a/apps/public-docsite/src/styles/_base.scss +++ b/apps/public-docsite/src/styles/_base.scss @@ -38,7 +38,7 @@ // Remove dotted outline added by MWF's main.css body [contentEditable=true]:focus, body [tabindex]:focus, - a[href]:not(.c-uhff-link):focus, // Don't remove the uhf link focus + a[href]:not(.c-uhff-link):focus, // Remove link focus outline from all links but the UHF ones body area[href]:focus, body button:focus, body iframe:focus,