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

default ColumnGroup props.align to 'center' #301

Merged
merged 2 commits into from
Jun 6, 2016

Conversation

sodiumjoe
Copy link
Contributor

@sodiumjoe sodiumjoe commented Jun 3, 2016

fixes #280, fixes #290

PR Checklist

  • Manually tested across supported browsers
    • Chrome
    • Firefox
    • Safari
    • IE11 (Win 7)
    • Edge (Win 10)
  • Unit tests written (common at minimum)
  • PR has one of the semver- labels
  • Two core team engineer approvals
  • [ ] One core team UX approval
  • add tests around ColumnGroup alignment
  • fix examples to use defaults

* add tests around ColumnGroup alignment
* fix examples to use defaults
@sodiumjoe
Copy link
Contributor Author

turns out the alignment thing was already fixed in #284

I just added the default center alignment to ColumnGroup

@sodiumjoe sodiumjoe self-assigned this Jun 3, 2016
@sodiumjoe sodiumjoe force-pushed the 280-DataTable-column-header-alignment branch from ccc7d21 to fbc9793 Compare June 3, 2016 23:36
.find(ScrollTable.Tr).first().shallow()
.find(ScrollTable.Th).at(1).shallow()

assert(thWrapper.hasClass('lucid-Table-align-center'), 'must be true');
Copy link
Contributor

Choose a reason for hiding this comment

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

the useful message should be must have correct className or something like that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

k will fix

@sodiumjoe sodiumjoe merged commit 08af297 into master Jun 6, 2016
@sodiumjoe sodiumjoe deleted the 280-DataTable-column-header-alignment branch June 6, 2016 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants