mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 21:07:27 +00:00
fix: sidebar in overview tab glitch when > than the content
This commit is contained in:
parent
fae3c08ad0
commit
e39589d00d
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue