1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 09:24:48 +00:00
This commit is contained in:
zumbiepig 2024-08-23 07:28:49 -07:00
parent 72bc6e0cfe
commit e5f9992955
No known key found for this signature in database
GPG Key ID: 17C891BE28B953DE
2 changed files with 4 additions and 2 deletions

View File

@ -19,8 +19,10 @@ body {
} }
.ads-container { .ads-container {
flex: 1;
display: none; display: none;
flex: 1;
align-items: center;
justify-content: center;
} }
.launcher { .launcher {

View File

@ -341,7 +341,7 @@ if (window.location.pathname === '/') {
const adsContainers = document.getElementsByClassName('ads-container'); const adsContainers = document.getElementsByClassName('ads-container');
for (let i = 0; i < adsContainers.length; i++) { for (let i = 0; i < adsContainers.length; i++) {
const adsContainer = adsContainers[i] as HTMLElement; const adsContainer = adsContainers[i] as HTMLElement;
adsContainer.style.display = 'block'; adsContainer.style.display = 'flex';
} }
}); });
} }