Skip to content

fix(landing): rework the FAQ accordion styling - #199

Merged
SishirP17 merged 1 commit into
mainfrom
fix/faq-accordion-styling
Aug 11, 2026
Merged

fix(landing): rework the FAQ accordion styling#199
SishirP17 merged 1 commit into
mainfrom
fix/faq-accordion-styling

Conversation

@SishirP17

Copy link
Copy Markdown
Collaborator

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 sitting over the divider lines.

Changes

  • Neutralise the inherited shadow, min-height, hover and active states on the trigger
  • Move to bordered cards with real padding instead of flush dividers
  • Swap max-height:260px for a 0fr to 1fr grid transition, so the longer answers no longer clip
  • Round the toggle so the open rotation lands as a clean x rather than a diamond
  • Tighter padding under 520px and a reduced-motion opt-out

Landing page CSS only, no behaviour change.

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
@SishirP17
SishirP17 requested a review from durga710 as a code owner August 11, 2026 21:04
@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
rayhealth-evv-platform-app Ready Ready Preview Aug 11, 2026 9:05pm

@SishirP17
SishirP17 merged commit 3976928 into main Aug 11, 2026
13 of 14 checks passed
@SishirP17
SishirP17 deleted the fix/faq-accordion-styling branch August 11, 2026 21:33
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.

1 participant