Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Header Alignment on Mobile and Dark Mode Visibility #206

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

Aribaskar-jb
Copy link
Contributor

Changes Made

This PR addresses two issues:

  1. Header Alignment on Mobile View: The header elements were misaligned on mobile devices, with one button on the left and another on the right. This PR fixes the alignment issue by centering the header elements horizontally on mobile devices.

  2. Dark Mode Visibility: In dark mode, the company names listed in the "Who's using Rush?" section were displayed in black, making them nearly impossible to read against the dark background. This PR ensures that company names are displayed with a legible and contrasting color in both light and dark modes to improve accessibility and readability.

Related Issues

Screenshots (if applicable)

  • Before Fix: image

  • After Fix:image

  • Before Fix:image

  • After Fix:
    image

Testing Done

  • Tested the changes on various mobile devices to ensure header alignment is correct.
  • Verified the visibility of company names in both light and dark modes.

This PR resolves the reported issues and enhances the user experience by improving the header alignment on mobile devices and ensuring better visibility in dark mode.

@Aribaskar-jb Aribaskar-jb changed the title Fix Header Alignment on Mobile and Dark Mode Visibility #205 Fix Header Alignment on Mobile and Dark Mode Visibility Oct 9, 2023
@@ -27,16 +27,15 @@ const advocates: IAdvocate[] = [

function AdvocateCard(props: { advocate: IAdvocate }): JSX.Element {
const advocate: IAdvocate = props.advocate;

console.log(advocate);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this debugging statement.

Copy link
Contributor Author

@Aribaskar-jb Aribaskar-jb Oct 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok @octogonz remove the debugging statement.

@octogonz
Copy link
Collaborator

🏆 Thanks for making these improvements!

@octogonz octogonz merged commit e35f7ee into microsoft:main Oct 13, 2023
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