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

report(redesign): misc whitespace and color changes #8531

Merged
merged 3 commits into from
Apr 23, 2019

Conversation

connorjclark
Copy link
Collaborator

@connorjclark connorjclark mentioned this pull request Apr 22, 2019
55 tasks
Copy link
Member

@exterkamp exterkamp left a comment

Choose a reason for hiding this comment

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

LGTM, screenshot for comparison:
Before:
image
After:
image

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@paulirish paulirish left a comment

Choose a reason for hiding this comment

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

two small things.

@@ -830,7 +830,7 @@
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: var(--section-indent) calc(var(--section-indent) / 2) calc(var(--section-indent) * 2);
padding-top: var(--section-indent) calc(var(--section-indent) / 2) calc(var(--section-indent) * 2);
Copy link
Member

Choose a reason for hiding this comment

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

this is 3 values, but padding-top just takes one? I guess you just want the section indent and that's it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@@ -562,14 +562,15 @@
.lh-gauge__label {
font-size: var(--score-title-font-size);
line-height: var(--score-title-line-height);
margin: calc(0.5 * var(--score-title-line-height));
margin-bottom: calc(0.5 * var(--score-title-line-height));
text-align: center;
color: black;
}

.lh-category .lh-gauge__label {
Copy link
Member

Choose a reason for hiding this comment

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

side note: last year, I probably should have done this more bem-y as .lh-gauge__label--big instead of relying on descendent selector, etc.

can you add a todo for that?

Copy link
Member

Choose a reason for hiding this comment

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

.lh-gauge__label--big

@hoten did you note this anywhere? (can add to e.g. #8185)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sorry, forgot to push. I made a TODO(#8185) comment and will follow up as clean up.

@@ -562,14 +562,15 @@
.lh-gauge__label {
font-size: var(--score-title-font-size);
line-height: var(--score-title-line-height);
margin: calc(0.5 * var(--score-title-line-height));
margin-bottom: calc(0.5 * var(--score-title-line-height));
text-align: center;
color: black;
}

.lh-category .lh-gauge__label {
Copy link
Member

Choose a reason for hiding this comment

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

.lh-gauge__label--big

@hoten did you note this anywhere? (can add to e.g. #8185)

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.

5 participants