Skip to content

Commit 7259fca

Browse files
authored
docs(style): remove unexpected borders on code block focus (#11784)
fix: remove unexpected borders on code block focus
1 parent 7b6e5c7 commit 7259fca

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

website/theme/index.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,12 @@ th:nth-child(25), td:nth-child(25) { grid-area: y; }
107107

108108
/* prettier-ignore */
109109
th:nth-child(26), td:nth-child(26) { grid-area: z; }
110+
111+
/* Fix: Remove unexpected borders on code block focus */
112+
pre:focus,
113+
code:focus,
114+
pre:focus-visible,
115+
code:focus-visible {
116+
outline: none;
117+
border: none;
118+
}

0 commit comments

Comments
 (0)