fixed button overlap issue

master
Suvodip 2025-05-08 16:37:36 +05:30
parent 6e6566a064
commit 47340b10d8
5 changed files with 24 additions and 22 deletions

View File

@ -167,9 +167,9 @@ import Layout from '../../layouts/Layout.astro';
if(isMobile){
topLogoWidth = 4.5;
muteIconWidth = 1.8;
resetIconWidth = 1.47;
tickIconWidth = 1.24;
muteIconWidth = 1.65;
resetIconWidth = 1.40;
tickIconWidth = 1.21;
cancelIconWidth = 1.08;
galleryIconWidth = 2;
}else if(isTab){

View File

@ -166,9 +166,9 @@ import Layout from '../../layouts/Layout.astro';
if(isMobile){
topLogoWidth = 4.5;
muteIconWidth = 1.8;
resetIconWidth = 1.47;
tickIconWidth = 1.24;
muteIconWidth = 1.65;
resetIconWidth = 1.40;
tickIconWidth = 1.21;
cancelIconWidth = 1.08;
galleryIconWidth = 2;
}else if(isTab){

View File

@ -166,9 +166,9 @@ import Layout from '../../layouts/Layout.astro';
if(isMobile){
topLogoWidth = 4.5;
muteIconWidth = 1.8;
resetIconWidth = 1.47;
tickIconWidth = 1.24;
muteIconWidth = 1.65;
resetIconWidth = 1.40;
tickIconWidth = 1.21;
cancelIconWidth = 1.08;
galleryIconWidth = 2;
}else if(isTab){
@ -186,17 +186,17 @@ import Layout from '../../layouts/Layout.astro';
cancelIconWidth = 1.185;
galleryIconWidth = 1.345;
}
if(isMobile){
submitWidth = 250;
submitHeight = 110;
noticeWidth = 100;
noticeHeight = 0;
downloadWidth = 67;
downloadHeight = 160;
downloadHeight = 200;
learningWidth = 200;
learningHeight = 400
} else {
}else {
submitWidth = 380;
submitHeight = 95;
noticeWidth = 0;
@ -207,6 +207,7 @@ import Layout from '../../layouts/Layout.astro';
learningHeight = 400
}
gameResult = [];
window.onload = function() {
currentDate = new Date();
@ -408,7 +409,7 @@ import Layout from '../../layouts/Layout.astro';
// this.add.image(customWidth / 2 * 1.6 - 0.5, 25, 'topLogo');
// }
if(isMobile){
outlineImage.setDepth(-1).setScale(0.28);
outlineImage.setDepth(-1).setScale(0.28 );
}else if(isTab){
outlineImage.setDepth(-1).setScale(0.26);
} else{

View File

@ -174,9 +174,9 @@ import Layout from '../../layouts/Layout.astro';
if(isMobile){
topLogoWidth = 4.5;
muteIconWidth = 1.8;
resetIconWidth = 1.47;
tickIconWidth = 1.24;
muteIconWidth = 1.65;
resetIconWidth = 1.40;
tickIconWidth = 1.21;
cancelIconWidth = 1.08;
galleryIconWidth = 2;
}else if(isTab){
@ -226,6 +226,7 @@ import Layout from '../../layouts/Layout.astro';
image2Bottom = 0;
}
gameResult = [];
window.onload = function() {
currentDate = new Date();

View File

@ -166,9 +166,9 @@ import Layout from '../../layouts/Layout.astro';
if(isMobile){
topLogoWidth = 4.5;
muteIconWidth = 1.8;
resetIconWidth = 1.47;
tickIconWidth = 1.24;
muteIconWidth = 1.65;
resetIconWidth = 1.40;
tickIconWidth = 1.21;
cancelIconWidth = 1.08;
galleryIconWidth = 2;
}else if(isTab){
@ -186,17 +186,17 @@ import Layout from '../../layouts/Layout.astro';
cancelIconWidth = 1.185;
galleryIconWidth = 1.345;
}
if(isMobile){
submitWidth = 250;
submitHeight = 110;
noticeWidth = 100;
noticeHeight = 0;
downloadWidth = 67;
downloadHeight = 160;
downloadHeight = 200;
learningWidth = 200;
learningHeight = 400
} else {
}else {
submitWidth = 380;
submitHeight = 95;
noticeWidth = 0;