fix: sidebar in overview tab glitch when > than the content

This commit is contained in:
Valentin Kaelin 2020-03-31 14:03:43 +02:00
parent fae3c08ad0
commit e39589d00d

View file

@ -110,7 +110,7 @@ export default {
}, },
isSidebarFixed() { isSidebarFixed() {
if (!this.sidebarRectangle.height) return if (!this.sidebarRectangle.height) return
this.fixedSidebar = window.innerHeight + document.documentElement.scrollTop > this.sidebarRectangle.y + this.sidebarRectangle.height + 112 this.fixedSidebar = window.innerHeight + document.documentElement.scrollTop > this.sidebarRectangle.y + this.sidebarRectangle.height + 121
}, },
...mapActions('summoner', ['moreMatches', 'overviewRequest']), ...mapActions('summoner', ['moreMatches', 'overviewRequest']),
}, },
@ -123,7 +123,7 @@ export default {
} }
.fixed-sidebar { .fixed-sidebar {
bottom: 112px; bottom: 121px;
} }
.pushed-container { .pushed-container {