Skip to content

Commit

Permalink
Merge pull request #204 from sarthakroy107/align-profile
Browse files Browse the repository at this point in the history
Aligned profile picture to right in mobile view
  • Loading branch information
harshkhandeparkar authored Nov 28, 2023
2 parents 876d6bd + 748142f commit 73e730a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function BrandLogo() {
function getNavbarLinkClasses(isMobile: boolean, isActive: boolean = false) {
return (
(isMobile
? "w-full text-end block p-2 text-sm font-semibold "
? "w-full text-end block p-2 text-sm font-semibold flex justify-end "
: "font-semibold hover:underline ") + (isActive ? "text-primary" : "")
);
}
Expand Down

0 comments on commit 73e730a

Please sign in to comment.