Skip to content

Commit

Permalink
Fix title offfset calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
brentvatne committed Jul 24, 2018
1 parent 9a82706 commit c0b637d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/Header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ class Header extends React.PureComponent {
{ justifyContent: layoutPreset === 'center' ? 'center' : 'flex-start' },
getTitleOffsets(
layoutPreset,
false,
options.hasLeftComponent,
options.hasRightComponent
),
Expand Down

1 comment on commit c0b637d

@jasekiw
Copy link

@jasekiw jasekiw commented on c0b637d Jul 24, 2018

Choose a reason for hiding this comment

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

Thank you! This fixed my header title centering issue when the headerRight was supplied.

Please sign in to comment.