Open pengying opened 9 years ago
Since the scroll element is on mainContainer and headerContainer has overflow-y: hidden the width of the two elements do not match.
This results in a header that's offset from mainContainer content.
The solution is to move headerContainer as a child element of mainContainer and change it's css to fixed with a high z-index.
Since the scroll element is on mainContainer and headerContainer has overflow-y: hidden the width of the two elements do not match.
This results in a header that's offset from mainContainer content.
The solution is to move headerContainer as a child element of mainContainer and change it's css to fixed with a high z-index.