Skip to content

Commit

Permalink
Added more padding and added display name for linting fix
Browse files Browse the repository at this point in the history
Signed-off-by: JanProgrammierung <jan.lorenz@scilifelab.se>
  • Loading branch information
JanProgrammierung committed Jan 31, 2025
1 parent bf581a1 commit 75b04e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion next-app/src/components/HeaderComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const HeaderComponent = React.memo(() => {
<Link
className={clsx(
"block px-4 py-2 text-sm transition-colors duration-200 hover:bg-gray-100 rounded",
index !== 0 && "pl-6"
index !== 0 && "pl-8"
)}
href={link.link}
onClick={() => setIsDropdownOpen(false)}
Expand Down Expand Up @@ -147,4 +147,6 @@ const HeaderComponent = React.memo(() => {
);
});

HeaderComponent.displayName = "HeaderComponent";

export default HeaderComponent;

0 comments on commit 75b04e3

Please sign in to comment.