Copilot commented on code in PR #534:
URL: 
https://github.com/apache/grails-static-website/pull/534#discussion_r3766794446


##########
guides/resources/css/guide.css:
##########
@@ -68,6 +68,23 @@ textarea {
        vertical-align: middle;
 }
 
+button:focus-visible,
+a:focus-visible,
+input:focus-visible,
+select:focus-visible,
+textarea:focus-visible,
+#main pre:focus-visible,
+#navigation a:focus-visible {
+       outline: 3px solid #0969da;
+       outline-offset: 2px;
+}
+
+#navigation #nav-summary > a:focus-visible {
+       background: #1f2328;
+       color: #ffffff;
+       margin-left: 4px;
+}

Review Comment:
   `margin-left: 4px` on the focused TOC link changes layout when keyboard 
focus moves, which can cause noticeable UI jank and can shift the hover/focus 
target. Prefer focus styling that does not move elements (outline/background is 
already applied).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to