Skip to content

Docs: fix FAQ width jumping on the premium page - #9777

Open
pubkey wants to merge 1 commit into
masterfrom
claude/clever-goldberg-5xpc5y
Open

pubkey wants to merge 1 commit into
masterfrom
claude/clever-goldberg-5xpc5y

Conversation

@pubkey

@pubkey pubkey commented Nov 19, 2026

Copy link
Copy Markdown
Owner

On https://rxdb.info/premium/ opening a FAQ question on desktop widens the question block, so the width jumps.

The <Faq> wrapper div is a flex item inside .premium-faq (.centered, align-items: center), so it shrinks to its content. The width: 100% of the <details> elements resolves against that shrunk wrapper and grows when an answer opens. The wrapper now has the class faq with width: 100%.

Checked with a headless Chromium reproduction: before the fix the details width went from 71px to 860px on open, after the fix it stays at 860px.


Generated by Claude Code

The Faq wrapper is a flex item inside .centered and shrank to its content,
so the width:100% of the details elements changed when an answer opened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015P6w6iJAp67LWntpb9LmAt

This branch has not been deployed

No deployments
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.

2 participants