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

refactor(www): Clean up "styled components" in <Banner /> #25352

Merged
merged 1 commit into from
Jun 27, 2020

Conversation

tesseralis
Copy link
Contributor

Clean up some code in

  • code the styles directly (innerContainerStyles) instead of creating wrapper components
  • apply the styles for OutboundLink directly
  • get rid of a mediaQuery
  • move inner content to a BannerContent component.

@tesseralis tesseralis requested review from fk and abhishekjakhar June 27, 2020 08:50
@tesseralis tesseralis requested a review from a team as a code owner June 27, 2020 08:50
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 27, 2020
justifyContent: [`center`, null, `flex-start`],
height: `100%`,
overflowX: `auto`,
maskImage: t =>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@fk what does this style do? Turning it on and off doesn't seem to change anything visually.

Copy link
Contributor

Choose a reason for hiding this comment

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

To "fade content out" in case it's overflowing:

image

@tesseralis tesseralis merged commit 9e68ac3 into master Jun 27, 2020
@delete-merged-branch delete-merged-branch bot deleted the www/refactor-banner branch June 27, 2020 09:17
@pvdz pvdz removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 30, 2020
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.

3 participants