We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72c84eb commit bf04f96Copy full SHA for bf04f96
.changeset/thirty-geckos-repair.md
@@ -0,0 +1,5 @@
1
+---
2
+'nextra-theme-docs': patch
3
4
+
5
+add ring-inset for navbar links
packages/nextra-theme-docs/src/components/navbar.tsx
@@ -53,7 +53,7 @@ function NavbarMenu({
53
cn(
54
classes.link,
55
classes.inactive,
56
- 'max-md:_hidden _items-center _whitespace-nowrap _rounded _flex _gap-1.5',
+ 'max-md:_hidden _items-center _whitespace-nowrap _flex _gap-1.5 _ring-inset',
57
focus && 'nextra-focusable'
58
)
59
}
@@ -159,7 +159,7 @@ export function Navbar({ items }: NavBarProps): ReactElement {
159
key={href}
160
className={cn(
161
162
- 'max-md:_hidden _whitespace-nowrap',
+ 'max-md:_hidden _whitespace-nowrap _ring-inset',
163
!isActive || page.newWindow
164
? classes.inactive
165
: classes.active
0 commit comments