main { flex: 1 0 auto; } footer { text-align: center; position: fixed; bottom: 0; } .row { margin-top: 20px; display: flex; justify-content: space-between; } .col-md-6 { flex: 0 0 50%; max-width: 50%; } .col-md-12 { flex: 0 0 100%; max-width: 100%; } .hiddenTable { max-height: 400px; /* Adjust this value as needed */ overflow-y: hidden; } .full-view { max-height: none; overflow-y: visible; } .sticky-header thead { position: sticky; top: 0; z-index: 1; } #addVideoHandler { display: flex; } #show-form-button { left: 20px; } .form-container { z-index: 25; display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); justify-content: center; align-items: center; } .form-content { background-color: #fff; padding: 20px; border-radius: 8px; text-align: center; display: flex; flex-direction: column; width: 50%; max-height: 80vh; /* Adjust the max-height as needed */ overflow-y: auto; } .form-content h1 { margin: 0; margin-bottom: 20px; } .form-content label { margin-bottom: 10px; } .form-content input, .form-content select, .form-content .duration-input, .form-content .fraction-input { margin-bottom: 20px; padding: 10px; font-size: 1rem; } .form-content .duration-input, .form-content .fraction-input { display: flex; align-items: center; } .form-content .duration-input { margin-left: 33%; } .form-content .duration-input button, .form-content .fraction-input button { width: 30px; height: 30px; margin: 0 5px; align-items: center; padding: 10px; font-size: 1rem; } .form-content .duration-input input { width: 50px; text-align: center; } .form-content #submit, .form-content #close-form-button { margin-top: 20px; padding: 10px; font-size: 1rem; } #number-board { display: grid; gap: 10px; justify-content: center; max-height: 40vh; /* Adjust the max-height as needed */ overflow-y: auto; } .number-button { padding: 10px; font-size: 1rem; background-color: #f0f0f0; border: 1px solid #ccc; cursor: pointer; transition: background-color 0.3s; margin: 5px; } .number-button.highlight { background-color: red; color: #fff; } #numerator, #denominator { width: 25%; }