Skip to content

Commit 7746fef

Browse files
committed
Tweak the navbar link styles
1 parent 4764b3f commit 7746fef

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/globals.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,6 @@ div[id^="headlessui-menu-items"] {
103103
@apply first:mr-0 hover:!text-primary;
104104
}
105105

106-
button[id^="headlessui-menu-button"] {
107-
@apply hover:text-primary;
108-
109-
+ div > a {
110-
@apply hover:text-primary;
111-
}
112-
}
113-
114106
.nextra-search {
115107
@apply ml-auto;
116108

src/pages/_meta.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default {
9696

9797
function 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">
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">
100100
{children}
101101
</span>
102102
)

0 commit comments

Comments
 (0)