I'm currently working on a project similar to "Trello" or "Zenhub," using a Kanban board with 4 columns placed in a div#board. The columns are set to display: inline flex, creating a neat horizontal alignment. However, I encountered an issue where each column has the same height. Is there a way to set a minimum height of 400px for each column when there are no cards present?
Here is the link to the JSFiddle
#board {
overflow-x: auto;
min-height: calc(100vh - 154px) !important;
padding: 0 2rem 2rem 0;
}
div.column-container {
display: inline-flex;
}
/* -= COLUMN =- */
div.column {
order: 1;
width: 400px;
min-width: 400px;
min-height: 100px;
margin: 2rem;
border-radius: .8rem;
padding: .5rem;
}