Skip to content

Commit

Permalink
fix: prevent title text overflow in login page title (#1264)
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-w authored Jan 21, 2025
1 parent f075a07 commit de44575
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/nextjs-app/src/features/auth/components/DescContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export const DescContent = () => {
<Rectangles className="hidden size-10 rounded-md xl:block" amount={36 * 2} />
</div>
<div className="flex h-full flex-col items-center justify-center p-10">
<div className="relative">
<h2 className="absolute -translate-y-full text-nowrap text-6xl font-bold">
<div className="overflow-hidden">
<h2 className="absolute -translate-y-full text-wrap text-6xl font-bold">
{t('auth:content.title')}
</h2>
<p className="py-10">{t('auth:content.description')}</p>
Expand Down

0 comments on commit de44575

Please sign in to comment.