Skip to content

Commit

Permalink
Fix: active sidebar missing border
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed May 27, 2023
1 parent c726589 commit fbdb7e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/AccountSidebar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const sidebarLinks = [
classes: 'h-4 w-4',
}
},
{
{
href: '/account/update-password',
title: 'Security',
id: 'change-password',
Expand Down Expand Up @@ -79,8 +79,8 @@ const sidebarLinks = [
<li>
<a
href={sidebarLink.href}
class={`font-regular flex w-full items-center gap-2 px-2 py-1.5 text-sm border-r-2 border-r-transparent ${
activePageId === sidebarLink.id ? 'text-black border-r-black bg-gray-100' : 'text-gray-500 hover:border-r-gray-300'
class={`font-regular flex w-full items-center gap-2 px-2 py-1.5 text-sm border-r-2 ${
activePageId === sidebarLink.id ? 'text-black border-r-black bg-gray-100' : 'text-gray-500 border-r-transparent hover:border-r-gray-300'
}`}
>
<AstroIcon icon={sidebarLink.icon.glyph} class={`${sidebarLink.icon.classes} mr-0`} />
Expand Down

0 comments on commit fbdb7e7

Please sign in to comment.