.editModal_container{ height: 600px; overflow-y: scroll; display: flex; flex-direction: column; .push_trench{ width: 100%; height: fit-content; display: flex; flex-direction:row; flex-wrap: wrap; .trench_card{ width: 500px; margin: 20px; border-width: 1px; border-color: #EEEEEE; border-style: solid; border-radius: 5px; display: flex; flex-direction: column; justify-content: space-around; align-items: center; .card_title{ border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color:#F6F7F9; height:50px; width: 100%; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; .lable{ font-size: large; margin-left: 10px; } } .card_body{ margin-top: 10px; width: 100%; padding: 10px; } } } }