diff --git a/css/style.css b/css/style.css index 69f93d1..f33ce70 100644 --- a/css/style.css +++ b/css/style.css @@ -26,10 +26,12 @@ body { .container { display: flex; margin: 10px; + width: fit-content; + margin: auto; + margin-top: 10px; margin-bottom: 10px; flex-direction: column; align-items: center; border: 4px solid rgba(68, 68, 68, 0.575); - height: 100%; } .container .con-title { @@ -121,7 +123,7 @@ footer { font-family: 'M42'; font-size: 6px; padding: 5px; - width: 20%; + width: 100%; margin-bottom: 10px; border-radius: 5px; border: none; diff --git a/html/templates/login_modal.html b/html/templates/login_modal.html index 9a83636..37f30ac 100644 --- a/html/templates/login_modal.html +++ b/html/templates/login_modal.html @@ -4,6 +4,6 @@
- +
diff --git a/html/templates/reg_modal.html b/html/templates/reg_modal.html index eea3f8e..fa72c87 100644 --- a/html/templates/reg_modal.html +++ b/html/templates/reg_modal.html @@ -5,6 +5,6 @@

- +
diff --git a/js/scripts/login.js b/js/scripts/login.js index 5a8d730..cdc02d4 100644 --- a/js/scripts/login.js +++ b/js/scripts/login.js @@ -22,7 +22,7 @@ export default function login(temp_engine) { home(temp_engine); }); - temp_engine.add_event("#forget", "click", () => { + temp_engine.add_event("#forget_login", "click", () => { My.agent = null; auth.unload_token(); modal.close(); diff --git a/js/scripts/reg.js b/js/scripts/reg.js index af94dac..45abf3b 100644 --- a/js/scripts/reg.js +++ b/js/scripts/reg.js @@ -23,7 +23,7 @@ export default function reg(temp_engine) { home(temp_engine); }); - temp_engine.add_event("#forget", "click", () => { + temp_engine.add_event("#forget_reg", "click", () => { My.agent = null; auth.unload_token(); modal.close();