Added a fix for homepage overflow x on non touch devices
parent
9cc2c0434f
commit
ccfee620fe
|
|
@ -58,7 +58,7 @@ export default {
|
||||||
components: { ActionBar, MusicRow, List, ListItem, Button, MusicBox },
|
components: { ActionBar, MusicRow, List, ListItem, Button, MusicBox },
|
||||||
mounted () {
|
mounted () {
|
||||||
let container = this.$el
|
let container = this.$el
|
||||||
Scrollbar.init(container, { overscrollEffect: 'bounce', continuousScrolling: true })
|
Scrollbar.init(container, { overscrollEffect: 'bounce', continuousScrolling: true, alwaysShowTracks: true })
|
||||||
},
|
},
|
||||||
data: () => {
|
data: () => {
|
||||||
return {
|
return {
|
||||||
|
|
@ -261,6 +261,8 @@ export default {
|
||||||
|
|
||||||
<style lang="sass">
|
<style lang="sass">
|
||||||
section.page
|
section.page
|
||||||
|
.scrollbar-track-x,.scrollbar-thumb-x
|
||||||
|
display: none !important
|
||||||
overflow-x: hidden
|
overflow-x: hidden
|
||||||
.VueCarousel-wrapper
|
.VueCarousel-wrapper
|
||||||
overflow: unset
|
overflow: unset
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue