Skip to content

fix: resolve the text overflow hidden on title#913

Open
Sreejesh06 wants to merge 3 commits intoasyncapi:masterfrom
Sreejesh06:master
Open

fix: resolve the text overflow hidden on title#913
Sreejesh06 wants to merge 3 commits intoasyncapi:masterfrom
Sreejesh06:master

Conversation

@Sreejesh06
Copy link

Fix heading crop on large screens

Resolves #911

The main title on the homepage was getting slightly cropped on large screens.

Change
Added padding to the landing page heading:

  • px-2
  • pb-2

This ensures the heading has enough space and no longer gets cut off.

Testing

  • Open the homepage
  • View it on a large screen

Screenshots

Before
Title cropped on large screen

After
Title visible after fix

@netlify
Copy link

netlify bot commented Jan 28, 2026

Deploy Preview for peaceful-ramanujan-288045 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f461212
🔍 Latest deploy log https://app.netlify.com/projects/peaceful-ramanujan-288045/deploys/69909f9df7f5f00008a8f8bf
😎 Deploy Preview https://deploy-preview-913--peaceful-ramanujan-288045.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Sreejesh06 Sreejesh06 changed the title fix: Resolve the text overflow hidden on title fix: resolve the text overflow hidden on title Jan 28, 2026
@Sreejesh06
Copy link
Author

@AceTheCreator please take a look at this PR when you get a chance. Thanks!

>
<Heading
className="leading-normal sm:leading-38px tracking-[-3px] sm:tracking-[-0.02em] font-extrabold text-gradient"
className="leading-normal sm:leading-38px tracking-[-3px] sm:tracking-[-0.02em] font-extrabold text-gradient px-2 pb-2"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The solution in this PR does solve the issue, but it feels like a workaround than addressing the root cause. Could you please look into why the cutoff is happening in the first place?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The solution in this PR does solve the issue, but it feels like a workaround than addressing the root cause. Could you please look into why the cutoff is happening in the first place?

I think the cutoff might be happening because of how gradient text works with background-clip: text. Some characters (like the “6”) seem to extend a bit beyond the element’s box, so when things are tightly sized it ends up getting clipped.

@Sreejesh06 Sreejesh06 requested a review from TenzDelek February 12, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Fix the text overflow hidden on title

2 participants