Merge pull request #20602 from overleaf/jel-cms-bottom-align-card

[web] Fix bottom alignment in cards on CMS BS5

GitOrigin-RevId: a09e7f21b0eab3642b7c22cec39a08842f8614a5
This commit is contained in:
Jessica Lawshe 2024-09-25 09:55:25 -05:00 committed by Copybot
parent 518647c13d
commit 3561e6315f

View file

@ -542,13 +542,29 @@
}
.bottom-align-last-entry {
display: flex;
flex-direction: column;
&.no-card {
display: flex;
flex-direction: column;
* {
&:last-child {
flex: 1;
align-content: end;
* {
&:last-child {
flex: 1;
align-content: end;
}
}
}
&.card {
.card-body {
display: flex;
flex-direction: column;
* {
&:last-child {
flex: 1;
align-content: end;
}
}
}
}
}