Skip to content

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

Merged
jeff-phillips-18 merged 1 commit into
patternfly:masterfrom
abkieling:angular-patternfly-663
Feb 19, 2018
Merged

jeff-phillips-18 merged 1 commit into
patternfly:masterfrom
abkieling:angular-patternfly-663

Conversation

@abkieling

@abkieling abkieling commented Oct 27, 2017 •

Copy link
Copy Markdown
Contributor

fix #663

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

image

@cshinn

Comment thread src/pagination/pagination.less Outdated
align-items: center;
.per-page-label {
padding-left: 10px;
}

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

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

@abkieling

Copy link
Copy Markdown
Contributor Author

Formatted the commit message according to semantic releases

@dtaylor113 dtaylor113 left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor Author

Your requested changes have been done.

@dtaylor113 dtaylor113 left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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