mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Slew of minor style adjustments
- Added padding to bottom of /setup-guide to accomodate iPhone users with curved screen bottoms - Added screen orientation detection to /player-settings to force select inputs into a single column on mobile devices - Added an X to the cookie notice to indicate it can be closed - Changed "Generate Game" to "Start Game" so it matches the header
This commit is contained in:
@@ -5,6 +5,10 @@ window.addEventListener('load', () => {
|
||||
const cookieNotice = document.createElement('div');
|
||||
cookieNotice.innerText = "This website uses cookies to store information about the games you play.";
|
||||
cookieNotice.setAttribute('id', 'cookie-notice');
|
||||
const closeButton = document.createElement('span');
|
||||
closeButton.setAttribute('id', 'close-button');
|
||||
closeButton.innerText = 'X';
|
||||
cookieNotice.appendChild(closeButton);
|
||||
document.body.appendChild(cookieNotice);
|
||||
cookieNotice.addEventListener('click', () => {
|
||||
localStorage.setItem('cookieNotice', "1");
|
||||
|
||||
Reference in New Issue
Block a user