Skip to content

fix: code block tab height#376

Closed
KushalXCoder wants to merge 1 commit intovercel:mainfrom
KushalXCoder:fix/code-block-tab-height
Closed

fix: code block tab height#376
KushalXCoder wants to merge 1 commit intovercel:mainfrom
KushalXCoder:fix/code-block-tab-height

Conversation

@KushalXCoder
Copy link

@KushalXCoder KushalXCoder commented Feb 14, 2026

Fixes #375

The fix solves the height issue in the component docs where the preview container was using a fixed height instead of a max height. Nothing else was changed and everything works properly as earlier.

This commit fixed the height issue coming in the component's docs.
@vercel
Copy link
Contributor

vercel bot commented Feb 14, 2026

@KushalXCoder is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Contributor

vercel bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
ai-elements Ignored Ignored Open in v0 Mar 6, 2026 8:16pm

@haydenbleasel
Copy link
Member

Thanks for the PR and for taking the time to look into this! Really appreciate it 🙏

This is actually intentional — the fixed height prevents content layout shift when switching between the preview and code tabs. Without it, the container would jump around in size as you toggle between tabs, which isn't a great experience.

Going to close this one out, but thanks again for the contribution!

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.

fix: code-block-tab height in the docs

2 participants