fix/removed scrolling from login/signup pages

This commit is contained in:
Joaquin committed 2025-05-15 21:46:58 -07:00
1 parent cfcfd7778d
commit c839d023a7
3 files changed
+6 -3

No files matched your search

+2 -1
View File
@@ -1,7 +1,8 @@
<%- include("./partials/fileHeader") %> <%- include("./partials/fileHeader") %>
<%- include("./partials/headerStart") %>
<main> <main>
<div class="flex justify-center items-center h-screen"> <div class="flex justify-center items-center pt-50">
<form action="/login" method="POST"> <form action="/login" method="POST">
<div class="w-96 p-6 shadow-1g bg-white rounded-md"> <div class="w-96 p-6 shadow-1g bg-white rounded-md">
<h1 class="text-3xl block text-center font-semibold">Login</h1> <h1 class="text-3xl block text-center font-semibold">Login</h1>
+1 -1
View File
@@ -28,6 +28,6 @@
Swal.fire('Error fetching pun', 'Please try again later', 'error'); Swal.fire('Error fetching pun', 'Please try again later', 'error');
}); });
}); });
</script> </script>`
</body> </body>
</html> </html>
+3 -1
View File
@@ -2,7 +2,7 @@
<%- include("./partials/headerStart") %> <%- include("./partials/headerStart") %>
<main> <main>
<div class="flex justify-center items-center h-screen"> <div class="flex justify-center items-center pt-50">
<form action="/signup" method="POST"> <form action="/signup" method="POST">
<div class="w-96 p-6 shadow-1g bg-white rounded-md"> <div class="w-96 p-6 shadow-1g bg-white rounded-md">
<h1 class="text-3xl block text-center font-semibold">Signup</h1> <h1 class="text-3xl block text-center font-semibold">Signup</h1>
@@ -41,6 +41,8 @@
<a href="/login" class="text-indigo-600 font-semibold">Login</a> <a href="/login" class="text-indigo-600 font-semibold">Login</a>
</div> </div>
</div> </div>
</form>
</div>
</main> </main>
<%- include("./partials/footer") %> <%- include("./partials/footer") %>