change image size and ratio in drag and tick game
This commit is contained in:
@@ -183,9 +183,9 @@ import Layout from '../../layouts/Layout.astro';
|
||||
// console.log(audioData)
|
||||
const {left_image1, left_image2, left_image3, left_image4, right_image1, right_image2, right_image3, right_image4} = data;
|
||||
if(isMobile){
|
||||
imageCustomWidth = "?width=100";
|
||||
imageCustomWidth = "?width=60";
|
||||
} else{
|
||||
imageCustomWidth = "?width=100";
|
||||
imageCustomWidth = "?width=60";
|
||||
}
|
||||
const assetsURL = "https://game-du.teachertrainingkolkata.in/assets/"
|
||||
assetsList.left_image1 = assetsURL + left_image1 + imageCustomWidth;
|
||||
|
||||
Reference in New Issue
Block a user