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

Styled Header for new display package page #8639

Merged
merged 8 commits into from
Jun 19, 2021
Merged

Conversation

sophiamfavro
Copy link
Contributor

Solution

This PR is all about styling the header of the new display package page. I changed the sizing, spacing, and colors of the header elements to match the redesign mock ups. I also added a "prefix reserved" label that links to the ID prefix reservation docs. The goal of this PR was do all the necessary changes in the header except for the installation instructions, so I have left them untouched and will do those changes in a later PR. Here is what the final product looks like
image

Testing

I tested all the links to make sure that they worked with the feature flag on and off, checked the console to make sure that there were no errors in the .js file, and resized the page to make sure the styling stayed the same.
This addresses issue #8601

@sophiamfavro sophiamfavro requested a review from a team as a code owner June 16, 2021 22:13
@sophiamfavro sophiamfavro merged commit 7adafc7 into dev Jun 19, 2021
}

.prefix-reserve-title {
background-color: #F3F2F1;
Copy link
Contributor

@zhhyu zhhyu Jun 20, 2021

Choose a reason for hiding this comment

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

nit: will it be better if we also use some shared color variable here?

.prefix-reserve-label {
font-size: 14px;
font-weight: 400;
color: #2F6FA7;
Copy link
Contributor

@zhhyu zhhyu Jun 20, 2021

Choose a reason for hiding this comment

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

nit: will it be better if we also use some shared color variable here?

Copy link
Contributor

@zhhyu zhhyu left a comment

Choose a reason for hiding this comment

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

Nice work! 👍

@dannyjdev dannyjdev mentioned this pull request Jun 29, 2021
5 tasks
@joelverhagen joelverhagen deleted the sofavroV2Header branch August 22, 2024 16:28
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