We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b4c7bc commit e932ca1Copy full SHA for e932ca1
components/sidebar/sidebar.jsx
@@ -89,7 +89,7 @@ export default class Sidebar extends Component {
89
let { scrollHeight } = document.body;
90
let { offsetHeight: sidebarHeight } = this._container;
91
let { offsetWidth: parentWidth, offsetHeight: parentHeight } = this._container.parentNode;
92
- let headerHeight = document.querySelector('header').offsetHeight;
+ let headerHeight = document.querySelector('header').offsetHeight + document.querySelector('.notification-bar').offsetHeight;
93
let footerHeight = document.querySelector('footer').offsetHeight;
94
let distToBottom = scrollHeight - scrollY - innerHeight;
95
0 commit comments