|
@@ -9,13 +9,13 @@ export default class TopNavHeader extends PureComponent {
|
|
|
super(props);
|
|
super(props);
|
|
|
|
|
|
|
|
this.state = {
|
|
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) {
|
|
static getDerivedStateFromProps(props) {
|
|
|
return {
|
|
return {
|
|
|
- maxWidth: (props.contentWidth === 'Fixed' ? 1200 : window.innerWidth) - 330 - 165 - 4,
|
|
|
|
|
|
|
+ maxWidth: (props.contentWidth === 'Fixed' ? 1200 : window.innerWidth) - 330 - 165 - 4 - 36,
|
|
|
};
|
|
};
|
|
|
}
|
|
}
|
|
|
|
|
|