Skip to content

Commit

Permalink
fix: add margin left to prevent overflow of nav item (#3904)
Browse files Browse the repository at this point in the history
Co-authored-by: Brandon Roberts <robertsbt@gmail.com>
  • Loading branch information
Dun-sin and brandonroberts authored Aug 12, 2024
1 parent 1444952 commit c8b8ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/organisms/ToolList/nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Nav: React.FC<NavProps> = ({
data-state={selectedTool === tool.name.toLowerCase() ? "active" : "inactive"}
tabIndex={-1}
key={index}
className={`tool-list-item border-b-2 transition-all ease-in-out ${
className={`tool-list-item border-b-2 ml-2 transition-all ease-in-out ${
(selectedTool as string).toLowerCase() === tool.name.toLowerCase()
? "border-orange-500"
: "border-transparent hover:border-light-slate-8"
Expand Down

0 comments on commit c8b8ace

Please sign in to comment.