Added a fix for homepage overflow x on non touch devices

pull/40/head
Nikan Dalvand 2019-07-31 22:50:17 +04:30
parent 9cc2c0434f
commit ccfee620fe
1 changed files with 4 additions and 2 deletions

View File

@ -58,7 +58,7 @@ export default {
components: { ActionBar, MusicRow, List, ListItem, Button, MusicBox },
mounted () {
let container = this.$el
Scrollbar.init(container, { overscrollEffect: 'bounce', continuousScrolling: true })
Scrollbar.init(container, { overscrollEffect: 'bounce', continuousScrolling: true, alwaysShowTracks: true })
},
data: () => {
return {
@ -261,6 +261,8 @@ export default {
<style lang="sass">
section.page
.scrollbar-track-x,.scrollbar-thumb-x
display: none !important
overflow-x: hidden
.VueCarousel-wrapper
overflow: unset