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

fix styles for cells with links in sortable table #34

Merged
merged 1 commit into from
Oct 15, 2020
Merged

fix styles for cells with links in sortable table #34

merged 1 commit into from
Oct 15, 2020

Conversation

koorosh
Copy link
Contributor

@koorosh koorosh commented Oct 12, 2020

Regression of styles in sortable table and consequently in
statements table was introduced during statements page extraction.
Links in table has to be by default with black colored and change
color to blue on hover. Also font-size for text cells was incorrect,
12px instead of required 14px.

Current fix applies these styles
on base elements with some cleanup
for styles.

Relevant to issue cockroachdb/cockroach#54513

Screen Shot 2020-10-12 at 2 57 42 PM

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@nathanstilwell nathanstilwell left a comment

Choose a reason for hiding this comment

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

Reviewed 4 of 4 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @dhartunian and @elkmaster)

Regression of styles in sortable table and consequently in
statements table was introduced during statements page extraction.
Links in table has to be by default with black colored and change
color to blue on hover. Also font-size for text cells was incorrect,
12px instead of required 14px.

Current fix applies these styles on base elements with some cleanup
for styles.
@koorosh koorosh merged commit b0e1ef4 into cockroachdb:master Oct 15, 2020
craig bot pushed a commit to cockroachdb/cockroach that referenced this pull request Oct 22, 2020
55499: ui: update styles for session details page r=koorosh a=koorosh

resolves #54513 
depends on cockroachdb/admin-ui-components#31
depends on cockroachdb/admin-ui-components#34
depends on cockroachdb/admin-ui-components#35

Current fix is quite complex and touches a lot of places because most of the issues with styles were common for all pages (Statements, Jobs, Node Overview).
Also many style duplicates required to get rid of duplicates and unify single version of proper components to use across entire app.

It's easier to review this PR per commit. Each commit describes in details what changes were made and their purpose.
 
![Screen Shot 2020-10-13 at 3 18 18 PM](https://user-images.githubusercontent.com/3106437/95859522-690a3000-0d67-11eb-94bb-1cccaac1d816.png)

![Screen Shot 2020-10-13 at 1 43 23 PM](https://user-images.githubusercontent.com/3106437/95856423-a9b37a80-0d62-11eb-8ade-54e8ed5b895c.png)


Co-authored-by: Andrii Vorobiov <and.vorobiov@gmail.com>
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