Directory: Homogenize cards heights

When the content of a profile card stretches it in height, the grid is not homogenous. This PR adds a CSS class that'll display cards as stretchable columns. The card content will be able to grow, which should always place the card footer at the bottom of the card.
This commit is contained in:
Joachim
2021-04-25 20:05:31 +02:00
parent 2fd8e12b96
commit e92166c7f7
2 changed files with 13 additions and 3 deletions

View File

@ -53,6 +53,16 @@ body {
background-color: transparent;
}
.card.is-stretchable {
display: flex;
flex-direction: column;
height: 100%;
}
.card.is-stretchable .card-content {
flex-grow: 1;
}
/** Shelving
******************************************************************************/