|
|
@@ -54,8 +54,8 @@ var app = new Vue({ |
|
|
|
}, |
|
|
|
dayContent: function (object) { |
|
|
|
var style = { |
|
|
|
fontSize: '1.5rem', |
|
|
|
padding: '20px', |
|
|
|
fontSize: '1.4rem', |
|
|
|
padding: app.isMobile() ? '18px' : '20px', |
|
|
|
}; |
|
|
|
return style; |
|
|
|
}, |
|
|
@@ -284,6 +284,11 @@ var app = new Vue({ |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
isMobile: function() { |
|
|
|
var width_window = parseInt($(window).width()); |
|
|
|
return width_window <= 768; |
|
|
|
}, |
|
|
|
|
|
|
|
responsive: function() { |
|
|
|
var app = this; |
|
|
|
app.responsiveApply(); |
|
|
@@ -293,9 +298,8 @@ var app = new Vue({ |
|
|
|
}, |
|
|
|
|
|
|
|
responsiveApply: function() { |
|
|
|
var width_window = parseInt($(window).width()); |
|
|
|
var $td_summary = $('#products tr.total td.summary'); |
|
|
|
if(width_window <= 768) { |
|
|
|
if(this.isMobile()) { |
|
|
|
$td_summary.attr('colspan', 3); |
|
|
|
} |
|
|
|
else { |