Mistakes were made

This commit is contained in:
Jimbo 2024-09-05 04:00:19 -04:00
parent e63e1eb708
commit 8f5c67b614

View file

@ -11,13 +11,14 @@ body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: flex-start; justify-content: center; /* Center the button container vertically */
margin: 0; margin: 0;
background: #20256E; /* Apply background color to body */
color: white;
position: relative;
overflow-x: hidden; overflow-x: hidden;
min-height: 100%; height: 100vh; /* Ensure body height fits within viewport */
background: #20256e;
color: white;
position: relative; /* Relative positioning for footer */
overflow-y: auto; /* Allow vertical scrolling if content overflows */
} }
header { header {
@ -158,7 +159,8 @@ header img {
} }
body { body {
min-height: 100vh; /* Ensure minimum height covers full viewport */ min-height: 100%; /* Ensure minimum height covers full viewport */
height: unset;
padding-top: 1em; /* Add space for footer */ padding-top: 1em; /* Add space for footer */
justify-content: flex-start; /* Ensure content starts from the top */ justify-content: flex-start; /* Ensure content starts from the top */
overflow-y: auto; /* Allow vertical scrolling when content exceeds viewport */ overflow-y: auto; /* Allow vertical scrolling when content exceeds viewport */