We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
outline: 'none'
:focus-visible
1 parent efec0a9 commit eeb4c4cCopy full SHA for eeb4c4c
.changeset/blue-suits-scream.md
@@ -0,0 +1,5 @@
1
+---
2
+'nextra-theme-docs': patch
3
4
+
5
+enable `outline: 'none'` only for `:focus-visible` state, to fix double ring in Firefox
packages/nextra-theme-docs/css/styles.css
@@ -27,8 +27,8 @@ summary,
27
button,
28
input,
29
[tabindex]:not([tabindex='-1']) {
30
- @apply _outline-none;
31
&:focus-visible {
+ @apply _outline-none;
32
@apply _ring-2 _ring-primary-200 _ring-offset-1 _ring-offset-primary-300 dark:_ring-primary-800 dark:_ring-offset-primary-700;
33
}
34
0 commit comments