#editRecipe{ flex-direction: column; width: 100%; height: 100%; } #editRecipeInputContainer{ display: flex; flex-direction: column; margin: 15px auto; } #editRecipeInputContainer label{ display: flex; justify-content: space-between; } #editRecipeInputContainer input{ margin-left: 10px; } #editRecipeContents{ display: flex; flex-basis: 0; flex-grow: 2; flex-shrink: 2; overflow: hidden; } #editRecipeLeft, #editRecipeRight{ display: flex; flex-direction: column; align-items: center; width: 50%; } #editRecipeRight h2{ font-size: 20px; } .lineBorderVert{ border-left: 2px solid rgb(255, 99, 107); margin: 5px; } #editRecipeUnused, #editRecipeUsed{ display: flex; flex-direction: column; width: 95%; flex-basis: 0; flex-grow: 2; overflow-y: auto; } .editRecipeInputItem{ display: flex; flex-direction: column; } .editRecipeInputItem > div{ display: flex; align-items: center; } .editRecipeInputItem input{ width: 150px; } #editRecipeSubmit{ margin-top: auto; }