Skip to content

fix: align flash banner content properly#65664

Open
DeveloperViraj wants to merge 1 commit intofreeCodeCamp:mainfrom
DeveloperViraj:fix/flash-banner-alignment
Open

fix: align flash banner content properly#65664
DeveloperViraj wants to merge 1 commit intofreeCodeCamp:mainfrom
DeveloperViraj:fix/flash-banner-alignment

Conversation

@DeveloperViraj
Copy link
Contributor

Checklist:

  • I have read and followed the contribution guidelines.
  • I have read and followed the how to open a pull request guide.
  • My pull request targets the main branch of freeCodeCamp.
  • I have tested these changes locally.

Closes #65625

Description

Fixes alignment of the flash/subscription banner so the message text and close button are properly centered.

Changes

  • Updated flexbox alignment in client/src/components/Flash/flash.css
  • Centered content vertically and improved horizontal spacing

Testing

  • Verified locally using a flash banner

@DeveloperViraj DeveloperViraj requested review from a team as code owners February 2, 2026 16:41
@github-actions github-actions bot added the platform: learn UI side of the client application that needs familiarity with React, Gatsby etc. label Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: learn UI side of the client application that needs familiarity with React, Gatsby etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Subscription banner content not properly aligned

2 participants