Skip to content

Commit

Permalink
fix: highlight on hover in docs
Browse files Browse the repository at this point in the history
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
  • Loading branch information
officialasishkumar committed Jan 4, 2024
1 parent 5d5bf2c commit 7351636
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modelina-website/src/components/docs/Docs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Docs: React.FC<ModelinaDocsProps> = ({ source, slug, router }) => {
headerReadme = (
<li
key={value.slug}
className={`cursor-pointer ${isSelected && 'bg-sky-500/[.3]'} p-2`}
className={`cursor-pointer hover:bg-sky-500/[.3] ${isSelected && 'bg-sky-500/[.3]'} p-2`}
onClick={() => {
setShowMenu(false);
}}
Expand All @@ -59,7 +59,7 @@ const Docs: React.FC<ModelinaDocsProps> = ({ source, slug, router }) => {
return (
<li
key={value.slug}
className={`cursor-pointer ${isSelected && 'bg-sky-500/[.3]'} p-2`}
className={`cursor-pointer hover:bg-sky-500/[.3] ${isSelected && 'bg-sky-500/[.3]'} p-2`}
onClick={() => {
setShowMenu(false);
}}
Expand Down

0 comments on commit 7351636

Please sign in to comment.