File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export interface NavBarProps {
2525}
2626
2727const linkClasses =
28- "typography-menu flex items-center text-neu-900 px-3 py-1 nextra-focus [text-box:trim-both_cap_alphabetic] leading-none hover:underline underline-offset-2"
28+ "typography-menu flex items-center text-neu-900 px-3 py-1 nextra-focus [text-box:trim-both_cap_alphabetic] leading-none hover:underline underline-offset-2 md:py-5 "
2929
3030function NavbarMenu ( {
3131 menu,
@@ -171,7 +171,7 @@ export function Navbar({ items }: NavBarProps): ReactElement {
171171 < NavigationMenu . Positioner
172172 side = "bottom"
173173 align = "start"
174- sideOffset = { 21 }
174+ sideOffset = { 4 }
175175 alignOffset = { - 8 }
176176 >
177177 < NavigationMenu . Popup className = "data-[closed]:animate-fade-out data-[open]:animate-fade-in" >
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ export default {
9696
9797function Emphasis ( { children } : { children : React . ReactNode } ) {
9898 return (
99- < span className = "[a:has(>&)]:[a:has(>&)]:border [a:has(>&)]: border [a:has(>&)]: border-current [a:has(>&)]:text-pri-base dark:[a:has(>&)]:text-pri-light [a:hover:has(>&)]:border-transparent [a:hover:has(>&)]:no-underline " >
99+ < span className = "relative block before:absolute before:-inset-x-3 before:-inset-y-1 before: border before: border-current [a:has(>&)]:text-pri-base dark:[a:has(>&)]:text-pri-light [a:hover:has(>&)]:no-underline [a:hover_&]:before:border-transparent " >
100100 { children }
101101 </ span >
102102 )
You can’t perform that action at this time.
0 commit comments