forked from CGM_Public/pretix_original
Adjust "mobile" size of widget
This commit is contained in:
@@ -1225,7 +1225,7 @@ Vue.component('pretix-widget', {
|
|||||||
data: shared_widget_data,
|
data: shared_widget_data,
|
||||||
methods: shared_methods,
|
methods: shared_methods,
|
||||||
mounted: function () {
|
mounted: function () {
|
||||||
this.mobile = this.$refs.wrapper.clientWidth <= 800;
|
this.mobile = this.$refs.wrapper.clientWidth <= 600;
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
classObject: function () {
|
classObject: function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user