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(dom-size): right-align the value column #6372

Merged
merged 2 commits into from
Oct 24, 2018

Conversation

connorjclark
Copy link
Collaborator

Fixes #6084.

image

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.

Yeah this works for me. Nicely done.

will need a yarn update:sample-json

@brendankenny was there more to this change that scared us off last time?

@paulirish paulirish changed the title core(report): right-align DOM size table values report(dom-size): right-align the value column Oct 24, 2018
@@ -460,7 +460,7 @@
"text": "Element"
},
{
"itemType": "text",
"itemType": "numeric",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@exterkamp I had to manually edit this one :'(

Copy link
Member

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

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

@brendankenny was there more to this change that scared us off last time?

I can't remember, but I think this is fine.

The issue is mostly that it's dumb that this currently has to go through generic render(details) when this case is only ever inside a table. Until we finish making tables sane, though, this is probably the best way to go for now (as long as we don't use it outside tables in the report until we do fix it).

@brendankenny brendankenny merged commit acfac44 into master Oct 24, 2018
@brendankenny brendankenny deleted the issue-6084-right-align branch October 24, 2018 19:22
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.

None yet

3 participants