Skip to content

fix pfTableView: border style not in line with PatternFly #664

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

Merged
merged 1 commit into from
Feb 19, 2018
Merged

fix pfTableView: border style not in line with PatternFly #664

merged 1 commit into from
Feb 19, 2018

Conversation

abkieling
Copy link
Contributor

@abkieling abkieling commented Oct 27, 2017

fix #663

Make the pfTableView borders thinner according to PatternFly's Table View.

image

@cshinn

align-items: center;
.per-page-label {
padding-left: 10px;
}
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this be in Patternfly styling? Not sure why the original was here. @dtaylor113 ?

Copy link
Member

Choose a reason for hiding this comment

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

Without the less, I get:

image

I'd have to dive deeper into the css used in the a-pf pagination component. I'm fairly certain it is very close to the css used in pf core.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can this change be done in a separate PR so we can merge & close this one?

Copy link
Member

Choose a reason for hiding this comment

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

Looks like the real issue here is that the pagination component should have the 'table-view-pf-pagination' selector as well as the 'content-view-pf-pagination'. If we add that for the pagination component when used for a table this change would not be necessary.

@jeff-phillips-18
Copy link
Member

Commit message needs to be formatted for semantic release. See https://github.com/patternfly/angular-patternfly#git-commit-guidelines

@abkieling
Copy link
Contributor Author

Formatted the commit message according to semantic releases

Copy link
Member

@dtaylor113 dtaylor113 left a comment

Choose a reason for hiding this comment

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

Hi, just verified all we need is 'table-view-pf-pagination' added to pagination.html, and the 'border-collapse' css attribute added to table.less.
Please see my commit to see the changes required.

@abkieling
Copy link
Contributor Author

Your requested changes have been done.

Copy link
Member

@dtaylor113 dtaylor113 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @akieling

@dtaylor113
Copy link
Member

@jeff-phillips-18, need your approval -thanks

@jeff-phillips-18 jeff-phillips-18 merged commit d5293d0 into patternfly:master Feb 19, 2018
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.

pfTableView: border style not in line with PatternFly
3 participants