fix(landing): rework the FAQ accordion styling - #199
Merged
Conversation
The global button rule in index.css applies a brand gradient, shadow and min-height to every button. .rh-faqq only reset background and border, so the shadow and rounding still painted, which read as floating white slabs over the divider lines. - neutralise the inherited shadow, min-height, hover and active states - move to bordered cards with real padding instead of flush dividers - swap max-height:260px for a 0fr to 1fr grid transition so long answers no longer clip - round the toggle so the open rotation lands as a clean x - tighter padding under 520px and a reduced-motion opt-out
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The global
buttonrule inindex.cssapplies a brand gradient, shadow andmin-heightto every button..rh-faqqonly resetbackgroundandborder, so the shadow and rounding still painted, which read as floating white slabs sitting over the divider lines.Changes
min-height, hover and active states on the triggermax-height:260pxfor a0frto1frgrid transition, so the longer answers no longer clipLanding page CSS only, no behaviour change.