.done(() => {
this.layout = new Layout({ el: options.el });
this.layout.render();
- $('#footer').addClass('search-navigator-footer');
+ $('#footer').addClass('page-footer-with-sidebar');
const allFacets = [
'q',
// $FlowFixMe
Backbone.history.stop();
App.layout.destroy();
- $('#footer').removeClass('search-navigator-footer');
+ $('#footer').removeClass('page-footer-with-sidebar');
};
}
key.setScope('measures-files');
const footer = document.getElementById('footer');
if (footer) {
- footer.classList.add('search-navigator-footer');
+ footer.classList.add('page-footer-with-sidebar');
}
}
key.deleteScope('measures-files');
const footer = document.getElementById('footer');
if (footer) {
- footer.classList.remove('search-navigator-footer');
+ footer.classList.remove('page-footer-with-sidebar');
}
}
const footer = document.getElementById('footer');
if (footer) {
- footer.classList.add('search-navigator-footer');
+ footer.classList.add('page-footer-with-sidebar');
}
this.attachShortcuts();
const footer = document.getElementById('footer');
if (footer) {
- footer.classList.remove('search-navigator-footer');
+ footer.classList.remove('page-footer-with-sidebar');
}
this.mounted = false;
componentDidMount() {
this.handleQueryChange(true);
const footer = document.getElementById('footer');
- footer && footer.classList.add('search-navigator-footer');
+ footer && footer.classList.add('page-footer-with-sidebar');
}
componentDidUpdate(prevProps /*: Props */) {
componentWillUnmount() {
const footer = document.getElementById('footer');
- footer && footer.classList.remove('search-navigator-footer');
+ footer && footer.classList.remove('page-footer-with-sidebar');
}
getView = () => this.state.query.view || 'overall';
this.fetchList();
const footer = document.getElementById('footer');
if (footer) {
- footer.classList.add('search-navigator-footer');
+ footer.classList.add('page-footer-with-sidebar');
}
}
this.mounted = false;
const footer = document.getElementById('footer');
if (footer) {
- footer.classList.remove('search-navigator-footer');
+ footer.classList.remove('page-footer-with-sidebar');
}
}
}
}
+.page-footer-with-sidebar {
+ padding-left: ~"calc(50vw - 370px + 10px)" !important;
+
+ div {
+ max-width: 980px;
+ }
+}
+
.page-with-sidebar {
display: flex;
}
.layout-page-main-header-inner {
left: 301px;
}
+
+ .page-footer-with-sidebar {
+ padding-left: 300px + 10px !important;
+ }
}
}
}
-.search-navigator-footer {
- @padding-left: @sideWidth + 10px;
- padding-left: @padding-left !important;
-}
-
.search-navigator-side {
position: fixed;
z-index: @search-navigator-side-z-index;