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