mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
518647c13d
commit
3561e6315f
1 changed files with 22 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue