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: update table and inline code formatting #10437

Merged
merged 4 commits into from
Mar 30, 2020
Merged

Conversation

Beytoven
Copy link
Contributor

@Beytoven Beytoven commented Mar 7, 2020

Fixes #9724

Updated images below. See linked issue for before images.

After_table

After_inline

@Beytoven Beytoven requested a review from a team as a code owner March 7, 2020 01:28
@Beytoven Beytoven requested review from brendankenny and removed request for a team March 7, 2020 01:28
@Beytoven
Copy link
Contributor Author

Beytoven commented Mar 7, 2020

Here are screenshots of Dark mode:

After_table_dark

After_inline_dark

@Beytoven Beytoven changed the title viewer: update table and inline code formatting report: update table and inline code formatting Mar 9, 2020
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.

LGTM!

@@ -128,7 +128,7 @@
--scorescale-width: 18px;
--section-padding-vertical: 12px;
--snippet-background-color: var(--color-gray-50);
--snippet-color: var(--color-gray-800);
--snippet-color: #0938C2;
Copy link
Member

Choose a reason for hiding this comment

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

should this be pulled out into a new color variable or does it not matter?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure. The color isn't one of the Material Design colors so I didn't think it needed it's own variable.

Copy link
Collaborator

@connorjclark connorjclark Mar 10, 2020

Choose a reason for hiding this comment

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

yeah this is cool

@@ -1339,6 +1345,10 @@
padding-right: 0;
}

.lh-table tr {
vertical-align: baseline;
Copy link
Member

Choose a reason for hiding this comment

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

it seems like this could get us in trouble applying to all table trs--maybe there's a specific case we've been depending on the current behavior?--but I couldn't find any bad tables in the sample_v2 report so SGTM :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did the same and couldn't find a place where a table is affected negatively. If it becomes an issues, I can always come back and make the formatting more specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refine multi-column detail view
5 participants