Skip to content

Fix clipped tab glow effect on docs homepage#55

Merged
steve8708 merged 1 commit intomainfrom
ai_main_f44a23ae2248
Mar 18, 2026
Merged

Fix clipped tab glow effect on docs homepage#55
steve8708 merged 1 commit intomainfrom
ai_main_f44a23ae2248

Conversation

@steve8708
Copy link
Contributor

@steve8708 steve8708 commented Mar 18, 2026

Summary

Fixes the focus/glow effect on tabs in the "Agents and UIs — fully connected" section of the docs homepage, which was being clipped by the parent container's overflow: auto.

Problem

When a tab in the BidirectionalTabs component received focus or was selected, its glow/focus ring was visually cut off because the parent container used overflow-x-auto without any padding to accommodate the overflow of the effect. This made the UI look broken and the focus indicator was not fully visible.

Solution

Added minimal px-1 py-1 padding to the tab container on mobile to give the glow effect room to render, and set md:overflow-visible md:p-0 on larger screens to restore the original layout behavior — preserving alignment and scroll functionality.

Key Changes

  • Added px-1 py-1 padding to the tab list container so the focus/glow ring is not clipped on mobile/horizontal scroll layouts
  • Added md:overflow-visible md:p-0 to reset overflow and padding on medium+ screens, keeping the desktop layout unchanged

Edit in Builder  Preview


To clone this PR locally use the Github CLI with command gh pr checkout 55

You can tag me at @BuilderIO for anything you want me to fix or change

@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for agent-native-fw ready!

Name Link
🔨 Latest commit 92a582d
🔍 Latest deploy log https://app.netlify.com/projects/agent-native-fw/deploys/69bb1c0079f4000008242ed9
😎 Deploy Preview https://deploy-preview-55--agent-native-fw.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.

@builder-io-integration builder-io-integration bot changed the title Update from the Builder.io agent Fix clipped tab glow effect on docs homepage Mar 18, 2026
@steve8708 steve8708 enabled auto-merge March 18, 2026 21:42
@steve8708 steve8708 merged commit 8b020a8 into main Mar 18, 2026
9 checks passed
@steve8708 steve8708 deleted the ai_main_f44a23ae2248 branch March 18, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants