Skip to content

Commit

Permalink
Fix sidebar items (#1358)
Browse files Browse the repository at this point in the history
* fixed #1354 : focus issue for navbar anchor items with tooltip

* fixed bookmark icon focus & hover look

---------

Co-authored-by: unknown <[email protected]>
  • Loading branch information
Chityalaakhil and unknown authored Oct 4, 2024
1 parent aea5faf commit 36f7506
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/bookmark/BookmarkButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const BookmarkButton = ({
<Button
disabled={isDisabled}
variant="ghost"
className="h-0 p-0 text-primary hover:text-primary"
className="text-primary hover:text-primary"
onClick={handleBookmark}
>
<BookmarkIcon
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/sidebar-items.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const SidebarItems = ({
return (
<TooltipProvider key={item.id}>
<Tooltip>
<TooltipTrigger>
<TooltipTrigger asChild>
<Link
href={item.href}
className={`flex items-center rounded-lg p-3 text-center transition-all duration-300 ${
Expand Down

0 comments on commit 36f7506

Please sign in to comment.