diff --git a/src/components/TopNavHeader/index.js b/src/components/TopNavHeader/index.js index e20b17ef42bb5d15667f43e1c173d48b84a3878f..9a8960a7acd67c69b3abe457b051e30b22f6459e 100644 --- a/src/components/TopNavHeader/index.js +++ b/src/components/TopNavHeader/index.js @@ -9,13 +9,13 @@ export default class TopNavHeader extends PureComponent { super(props); this.state = { - maxWidth: (props.contentWidth === 'Fixed' ? 1200 : window.innerWidth) - 330 - 165 - 4 - 26, + maxWidth: (props.contentWidth === 'Fixed' ? 1200 : window.innerWidth) - 330 - 165 - 4 - 36, }; } static getDerivedStateFromProps(props) { return { - maxWidth: (props.contentWidth === 'Fixed' ? 1200 : window.innerWidth) - 330 - 165 - 4, + maxWidth: (props.contentWidth === 'Fixed' ? 1200 : window.innerWidth) - 330 - 165 - 4 - 36, }; }