Skip to content

Commit

Permalink
fix(actions-header): Do not force textAlign (#375)
Browse files Browse the repository at this point in the history
By reordering the destructuring, make it possible for headerStyle to
override the text alignment.
  • Loading branch information
melvyn-apryl committed Oct 15, 2021
1 parent 4a14444 commit 356a055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MTableHeader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ export function MTableHeader({ onColumnResized, ...props }) {
padding="checkbox"
className={props.classes.header}
style={{
textAlign: 'center',
...props.headerStyle,
width: width,
textAlign: 'center',
boxSizing: 'border-box'
}}
>
Expand Down

0 comments on commit 356a055

Please sign in to comment.