Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
🐛 Fix up the navigation in face of temporary bug (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 authored Feb 2, 2023
1 parent 31528ff commit 1db7188
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/short-pumpkins-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@myst-theme/site': patch
---

Strange bug in active theme, add spaces around the created class as a temporary fix to allow the classes to move through
2 changes: 1 addition & 1 deletion packages/site/src/components/Navigation/TopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function NavItem({ item }: { item: SiteNavItem }) {
to={action.url || ''}
className={({ isActive }) =>
classNames(
'block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-black',
' block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-black ',
{
'text-black font-bold': isActive,
},
Expand Down

0 comments on commit 1db7188

Please sign in to comment.