Skip to content

Commit

Permalink
Fix header title width
Browse files Browse the repository at this point in the history
  • Loading branch information
barbara-chaves committed Jul 10, 2024
1 parent eb9f624 commit c127c71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/src/components/ui/home-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ const HomeLink = ({ className }: HomeLinkProps) => {
const t = useTranslations();
return (
<Link href="/" className="flex gap-4">
<RangelandLogoIcon className="fill-global" />
<h1 className={cn("w-32 text-sm", className)}>{t("Rangelands Data Platform")}</h1>
<RangelandLogoIcon className="shrink-0 fill-global" />
<h1 className={cn("w-36 text-balance text-sm", className)}>
{t("Rangelands Data Platform")}
</h1>
</Link>
);
};
Expand Down

0 comments on commit c127c71

Please sign in to comment.