Fix size of map on mobile devices
This commit is contained in:
@@ -53,8 +53,8 @@ const itemCode = ref(null);
|
||||
const googlemapbox = ref(null);
|
||||
const googlemapchart = ref(null);
|
||||
|
||||
const gChartWidth = computed(() => screenWidth.value > 420 ? 400 : (screenWidth.value - 20 - 5));
|
||||
const gChartHeight = computed(() => gChartWidth.value == 400 ? 250 : (screenWidth.value *65/100) - 28);
|
||||
const gChartWidth = computed(() => screenWidth.value > 420 ? 400 : (screenWidth.value - 30 - 5));
|
||||
const gChartHeight = computed(() => gChartWidth.value == 400 ? 250 : (screenWidth.value *67/100) - 28);
|
||||
console.log('GCH',screenWidth.value, screenHeight.value, gChartWidth.value,gChartHeight.value);
|
||||
|
||||
const options = {
|
||||
|
||||
Reference in New Issue
Block a user