diff --git a/src/home/index.js b/src/home/index.js index c461843989b..a6d786187b6 100644 --- a/src/home/index.js +++ b/src/home/index.js @@ -64,13 +64,14 @@ var HomeView = View.extend({ this.renderSubview(new TourView(), this.queryByHook('tour-container')); }, onInstanceFetched: function() { - if (app.instance.collections.length === 0) { - this.showNoCollectionsZeroState = true; - } else { - this.showDefaultZeroState = true; - } if (!this.ns) { app.instance.collections.unselectAll(); + + if (app.instance.collections.length === 0) { + this.showNoCollectionsZeroState = true; + } else { + this.showDefaultZeroState = true; + } } else { this.showCollection(app.instance.collections.get(this.ns)); } diff --git a/src/home/index.less b/src/home/index.less index 676559ec85c..569643c4152 100644 --- a/src/home/index.less +++ b/src/home/index.less @@ -91,8 +91,8 @@ display: flex; overflow: hidden; height: 100vh; - margin-top: -168px; // total computed header + .refine-view-container height - padding-top: 168px; // total computed header + .refine-view-container height + margin-top: -155px; // total computed header + .refine-view-container height + padding-top: 155px; // total computed header + .refine-view-container height position: relative; width: 100%; }